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)" == "1"
39 $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
43 $(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
47 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
48 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
52 $(PROGRAM).exe: $(WXLIB) $(OBJECTS)
56 $(OBJECTS) $(DUMMYOBJ)