6 # Copyright: (c) 1993, AIAI, University of Edinburgh
10 # Makefile : Builds wxGrid example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
14 # Set WXDIR for your system
19 !include $(WXDIR)\src\ntwxwin.mak
21 THISDIR = $(WXDIR)\samples\grid
24 OBJECTS = $(PROGRAM).obj
26 $(PROGRAM): $(PROGRAM).exe
28 all: wx $(PROGRAM).exe
32 nmake -f makefile.nt FINAL=$(FINAL)
37 nmake -f makefile.nt clean
40 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
44 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
49 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
51 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
54 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
55 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc