X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2912e35f1774b140b44cb9f9568aa5ab8122cd02..59678f3fae7d537003fe1dbd0d0049694ec946c1:/samples/minimal/makefile.va diff --git a/samples/minimal/makefile.va b/samples/minimal/makefile.va index ba7f61ed13..b0999b172d 100644 --- a/samples/minimal/makefile.va +++ b/samples/minimal/makefile.va @@ -4,22 +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) - -WXUSINGDLL=0 +WXDIR=$(WXWIN) !include $(WXDIR)\src\makeva.env -PROGRAM=$D\minimal -OBJECTS = $(PROGRAM).obj +# +# Define which program this is and what it's path is and where to output to +# +PROGRAM=minimal +THISDIR=$(WXWIN)\samples\$(PROGRAM) +OPATH=$(THISDIR)\$D -!if [md $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