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
28 nmake -f makefile.vc FINAL=$(FINAL)
33 nmake -f makefile.vc clean
37 !if "$(wxUSE_GUI)" == ""
41 !if "$(wxUSE_GUI)" == "1"
43 $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
47 $(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
51 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
52 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
56 $(PROGRAM).exe: $(WXLIB) $(OBJECTS)
60 $(OBJECTS) $(DUMMYOBJ)