6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds joytest example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
18 !include $(WXDIR)\src\ntwxwin.mak
20 THISDIR = $(WXDIR)\samples\joytest
23 OBJECTS = $(PROGRAM).obj
25 $(PROGRAM): $(PROGRAM).exe
27 all: wx $(PROGRAM).exe
31 nmake -f makefile.nt FINAL=$(FINAL)
36 nmake -f makefile.nt clean
39 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
43 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
48 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
50 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
53 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
54 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc