9 # Makefile : Builds isosurf example (MS VC++).
10 # Use FINAL=1 argument to nmake to build final version with no debugging
13 # Set WXDIR for your system
19 EXTRALIBS=$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib
21 !include $(WXDIR)\src\ntwxwin.mak
23 THISDIR = $(WXDIR)\utils\glcanvas\samples\isosurf
26 OBJECTS = $(PROGRAM).obj
28 $(PROGRAM): $(PROGRAM).exe
30 all: wx $(PROGRAM).exe
34 nmake -f makefile.nt FINAL=$(FINAL)
39 nmake -f makefile.nt clean
42 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
46 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
51 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(PROGRAM).h $(DUMMYOBJ)
53 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
56 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
57 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc