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
20 !include $(WXDIR)\src\makevc.env
30 nmake -f makefile.vc FINAL=$(FINAL)
35 nmake -f makefile.vc clean
39 !if "$(wxUSE_GUI)" == ""
43 !if "$(wxUSE_GUI)" == "1"
45 #!if "$(WXUSINGDLL)" == "1"
49 $(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
53 $(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
57 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
58 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
62 $(PROGRAM).exe: $(WXLIB) $(OBJECTS)
66 $(OBJECTS) $(DUMMYOBJ)