3 # Author: David Webster
6 # Copyright: (c) David Webster
8 # Makefile environment for building samples. Include this from
10 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Define inference rules for compiling C++ files.
16 {$(THISDIR)}.cpp{$(OPATH)}.obj:
19 $(CPPFLAGS) /Fo$@ /Tp $<
27 nmake -f makefile.va FINAL=$(FINAL)
32 nmake -f makefile.va clean
35 $(PROGRAM).obj:: $(OPATH)\$(PROGRAM).obj
36 $(OPATH)\$(PROGRAM).obj: $(THISDIR)\$(PROGRAM).cpp
38 $(PROGRAM).res:: $(PROGRES)
40 $(RC) -I $(WXDIR)\include\wx\os2 -D __VISAGECPP__ -r $(PROGRC) $(PROGRES)
42 $(PROGRAM).exe:: $(PROGTARGET)
43 $(PROGTARGET): $(OBJECTS) $(PROGRES) $(DUMMYOBJ) $(WXLIB)
44 @echo " Link::Linker "
46 /B" $(LINKFLAGS)" /Fe$@
51 $(RC) $(PROGRES) $(PROGTARGET)