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
13 # Set WXDIR for your system
14 WXDIR = j:\dev\wx2\wxWindows
18 !include $(WXDIR)\src\makeva.env
24 nmake -f makefile.va FINAL=$(FINAL)
29 nmake -f makefile.va clean
32 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
33 @echo " Link::Linker "
35 /B" $(LINKFLAGS)" /Fe$@
40 $(RC) $(PROGRAM).res $(PROGRAM).exe
42 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\os2\wx.rc
43 $(RC) -I $(WXDIR)\include -D __VISAGECPP__ -r $(PROGRAM).rc $(PROGRAM).res