]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minimal/makefile.va
Fixes to allow compilation with no wchar_t (djgpp probably has a real wchar_t
[wxWidgets.git] / samples / minimal / makefile.va
index c2449e199c0ba2ea505104cd4d6a174b16527640..b0999b172d475c7635b34e09d924f885cc0ee4ee 100644 (file)
@@ -4,15 +4,42 @@
 # Created:  1999
 # Updated:
 # Copyright:    (c) David Webster
+# Licence:  wxWindows Licence
 #
 # Makefile : Builds sample (VisualAgeC++ V3.0, OS/2 PM)
 # 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=E:\TEMP\$(PROGRAM).exe
+
+.cpp{$OPATH}.obj:
+    @echo $<
+    icc @<<
+$(CPPFLAGS) /Fo$@ /Tp $<
+<<
 
 !include $(WXDIR)\src\makeprog.va