]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/makefile.va
added missing -univ package control files.
[wxWidgets.git] / samples / minimal / makefile.va
index c2449e199c0ba2ea505104cd4d6a174b16527640..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 = $(WXWIN)
+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