]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/makefile.vc
Fix Cygwin and MinGW compilation
[wxWidgets.git] / samples / minimal / makefile.vc
index ae49d756686de65b4b2fa03429ff78706bcb3551..d4dc595b73da2f3904548b272a441270477cd357 100644 (file)
@@ -9,10 +9,16 @@
 # Use FINAL=1 argument to nmake to build final version with no debug info.
 
 # Set WXDIR for your system
-WXDIR = j:\dev\wx2\wxWindows
+WXDIR = $(WXWIN)
 
 PROGRAM=minimal
 OBJECTS = $(PROGRAM).obj
 
 !include $(WXDIR)\src\makeprog.vc
 
+# For broken VC++ 4
+noopt:
+       cl @<<
+$(CPPFLAGS2) /Od /c /Tp $(PROGRAM).cpp
+<<
+