]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeg95.env
Added *.ani to image sample
[wxWidgets.git] / src / makeg95.env
index 39f402da26cea12c8634ec620f64aa6971d06b1c..9ce31061f7aa84ce1678df47d159fee7b02b83b6 100644 (file)
@@ -18,8 +18,14 @@ MINGW32=1
 #MINGW32VERSION=2.95
 MINGW32VERSION=3.0
 
+# If we're using MSYS, or other utilities that
+# use forward slashes, we need to set this when
+# invoking the makefile from DOS, or the wrong separators
+# will be assumed.
+#OSTYPE=msys
+
 # If building DLL, the version
-WXVERSION=233
+WXVERSION=250
 
 ifndef UNICODE
   UNICODE=0
@@ -279,17 +285,20 @@ endif
 
 # You shouldn't need to change these...
 CPPFLAGS = $(XINCLUDE) $(INC) $(COMMON_THREADFLAGS) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) $(EXTRACPPFLAGS) $(EXTRADLLFLAGS)
-CFLAGS = $(XINCLUDE) $(INC) $(COMMON_THREADFLAGS) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) $(EXTRACFLAGS) -DWIN32_LEAN_AND_MEAN
+CFLAGS = $(XINCLUDE) $(INC) $(COMMON_THREADFLAGS) $(OPTIONS) $(GUI) $(DEBUGFLAGS) $(WARN) $(OPT) $(EXTRACFLAGS) $(EXTRADLLFLAGS) -DWIN32_LEAN_AND_MEAN
 ifeq ($(wxUSE_GUI),1)
     WINDOWSLDFLAGS=-Wl,--subsystem,windows -mwindows
 endif
 LDFLAGS = $(WINDOWSLDFLAGS) $(COMMON_THREADFLAGS) -L$(WXDIR)/lib -L$(WXDIR)/contrib/lib $(EXTRALDFLAGS)
 
-.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .cxx .c
+.SUFFIXES: .rc .$(RESSUFF) .$(RSCSUFF) .cpp .cxx .cc .c
 
 .c.o:
        $(CC) -c $(CFLAGS) -o $@ $*.c
 
+.cc.o:
+       $(CC) -c $(CPPFLAGS) -o $@ $*.cc
+
 .cxx.o:
        $(CC) -c $(CPPFLAGS) -o $@ $*.cxx