6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds printing example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
17 !include $(WXDIR)\src\ntwxwin.mak
19 THISDIR = $(WXDIR)\samples\printing
22 OBJECTS = $(PROGRAM).obj
24 $(PROGRAM): $(PROGRAM).exe
26 all: wx $(PROGRAM).exe
30 nmake -f makefile.nt FINAL=$(FINAL)
35 nmake -f makefile.nt clean
38 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
42 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
47 $(PROGRAM).obj: $(PROGRAM).h $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
49 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
52 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
53 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc