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 #!if "$(WXUSINGDLL)" == "1"
47 $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
51 $(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
55 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
56 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
60 $(PROGRAM).exe: $(WXLIB) $(OBJECTS)
64 $(OBJECTS) $(DUMMYOBJ)