MINGW32=1
# Set to the version you have
-MINGW32VERSION=2.95
-#MINGW32VERSION=3.0
+#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
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