]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/makefile.va
Menu files for OS/2 builds
[wxWidgets.git] / samples / minimal / makefile.va
index fbd94a1e473c5e2610f3ad7d4b8aee1b061643ed..adffb27a1074a1a6f927f7c4256b2381926f66b1 100644 (file)
@@ -9,10 +9,36 @@
 # 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)
 
+!include $(WXDIR)\src\makeva.env
+
+#
+# Define which program this is and what it's path is and where to output to
+#
 PROGRAM=minimal
-OBJECTS = $(PROGRAM).obj
+THISDIR=$(WXWIN)\samples\$(PROGRAM)
+OPATH=$(THISDIR)\$D
+
+#
+# Make sure output directory is available
+#
+!if [md $(OPATH)]
+!endif
+
+#
+# Standard definitions
+#
+PROGRC=$(THISDIR)\$(PROGRAM).rcO
+OBJECTS=$(OPATH)\$(PROGRAM).obj
+PROGRES=$(OPATH)\$(PROGRAM).res
+PROGTARGET=$(OPATH)\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
 
 !include $(WXDIR)\src\makeprog.va