6 # Copyright: (c) Julian Smart
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
18 !include $(WXDIR)\src\makevc.env
20 all: $(PROGRAM).exe $(EXTRATARGETS)
24 nmake -f makefile.vc FINAL=$(FINAL)
29 nmake -f makefile.vc clean
32 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
36 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
40 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
41 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc