X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d626b2032062524e41c7356002626244a6be4e..61c213fe224da24ce33c9187263e75a17ca83a04:/samples/minimal/makefile.va?ds=sidebyside diff --git a/samples/minimal/makefile.va b/samples/minimal/makefile.va index fbd94a1e47..b0999b172d 100644 --- a/samples/minimal/makefile.va +++ b/samples/minimal/makefile.va @@ -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 = 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=E:\TEMP\$(PROGRAM).exe + +.cpp{$OPATH}.obj: + @echo $< + icc @<< +$(CPPFLAGS) /Fo$@ /Tp $< +<< !include $(WXDIR)\src\makeprog.va