X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea258ad3489638fbcf504a674f8793b1362bd2b5..30827629fa11f6365f69bd2917e1a35d22c35363:/samples/minimal/makefile.va

diff --git a/samples/minimal/makefile.va b/samples/minimal/makefile.va
index c2449e199c..adffb27a10 100644
--- a/samples/minimal/makefile.va
+++ b/samples/minimal/makefile.va
@@ -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