]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeg95.env
GetTempFileName used in wxTempFile now instead of tmpnam
[wxWidgets.git] / src / makeg95.env
index 3b37cdd321106ba0ff6a95cf5ed46433db9cf0a5..df75642221ab1d574a75b1c8f324e6b5afa34a26 100644 (file)
@@ -8,7 +8,7 @@
 # to override makefile variables. See wx/install/install.txt.
 # And you can override specific variables on the make command line, e.g.
 #
-# make -f makefile.unix DEBUG=''
+# make -f makefile.unix WXDEBUG=''
 #
 # You may prefer to use the GNU configure script than raw makefiles -
 # see contrib/wxshlib.
@@ -64,10 +64,10 @@ OPTIONS= # -D__MINGW32__ # -D__EGCS__
 # Debugging information
 # AIX: comment out.
 # IRIX: -g3
-DEBUGFLAGS = -ggdb -D__DEBUG__
+DEBUGFLAGS = -ggdb -D__WXDEBUG__
 
 # Debug/trace mode. 1 or more for debugging.
-DEBUG=0
+WXDEBUG=0
 
 WIN95=1
 
@@ -113,7 +113,7 @@ WARN = -Wall
 # -Wredudant-decs
 
 # Which GUI, -Dwx_xview or -Dwx_motif (don't change this)
-GUI = -D__WINDOWS__
+GUI = -D__WXMSW__
 
 # Optimization
 # OPT = -O
@@ -203,8 +203,8 @@ LDLIBS = $(LIBS)
 OBJDIR = objects$(GUISUFFIX)
 
 # You shouldn't need to change these...
-CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DDEBUG='$(DEBUG)' $(WARN) $(OPT)
-CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DDEBUG='$(DEBUG)' $(WARN) $(OPT)
+CPPFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DWXDEBUG='$(WXDEBUG)' $(WARN) $(OPT)
+CFLAGS = $(XINCLUDE) $(INC) $(OPTIONS) $(GUI) $(DEBUGFLAGS) -DWXDEBUG='$(WXDEBUG)' $(WARN) $(OPT)
 LDFLAGS =  -Wl,--subsystem,windows -mwindows -L$(WXDIR)/lib
 
 # Extra patch link for XView