diff options
author | Tor Lillqvist <tml@src.gnome.org> | 1999-07-02 21:33:02 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 1999-07-02 21:33:02 +0000 |
commit | 468862dce9a765449b551b4c354567a4635b0795 (patch) | |
tree | dbb9b49fdcc695d7d91f463585839865d9c31937 /makefile.msc.in | |
parent | d610460c2264273b9520c0a932a34431efb56887 (diff) | |
download | glib-468862dce9a765449b551b4c354567a4635b0795.tar.gz |
README.win32: Note about fixing another bug in the mingw32 headers.
makefile.msc.in: Turn on debugging with nmake variable.
Diffstat (limited to 'makefile.msc.in')
-rw-r--r-- | makefile.msc.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/makefile.msc.in b/makefile.msc.in index 61b1e43f0..4a1e6836b 100644 --- a/makefile.msc.in +++ b/makefile.msc.in @@ -12,20 +12,25 @@ PTHREADS = ..\pthreads-snap-1999-05-30 PTHREAD_LIB = $(PTHREADS)\pthread.lib PTHREAD_INC = -I $(PTHREADS) +!IFNDEF DEBUG # Full optimization: -OPTIMIZE = -Ox +OPTIMIZE = -Ox -MD +LINKDEBUG = +!ELSE # Debugging: -#OPTIMIZE = -Zi +OPTIMIZE = -Zi -MDd +LINKDEBUG = /debug +!ENDIF ################################################################ # Nothing much configurable below # cl -? describes the options -CC = cl -G5 -GF $(OPTIMIZE) -W3 -MD -nologo +CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo # No general LDFLAGS needed -LDFLAGS = /link # /debug +LDFLAGS = /link $(LINKDEBUG) INSTALL = copy GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@ |