]> git.saurik.com Git - wxWidgets.git/blame - utils/glcanvas/samples/isosurf/makefile.nt
Cleaning abit
[wxWidgets.git] / utils / glcanvas / samples / isosurf / makefile.nt
CommitLineData
c2265822
JS
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1997
5# Updated:
6#
7# "%W% %G%"
8#
9# Makefile : Builds isosurf example (MS VC++).
10# Use FINAL=1 argument to nmake to build final version with no debugging
11# info
12
13# Set WXDIR for your system
14WXDIR = $(WXWIN)
15
16WXUSINGDLL=0
17
18EXTRAINC=-I..\..\win
6c905cb7 19EXTRALIBS=$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib
c2265822
JS
20
21!include $(WXDIR)\src\ntwxwin.mak
22
23THISDIR = $(WXDIR)\utils\glcanvas\samples\isosurf
24PROGRAM=isosurf
25
26OBJECTS = $(PROGRAM).obj
27
28$(PROGRAM): $(PROGRAM).exe
29
30all: wx $(PROGRAM).exe
31
32wx:
33 cd $(WXDIR)\src\msw
34 nmake -f makefile.nt FINAL=$(FINAL)
35 cd $(THISDIR)
36
37wxclean:
38 cd $(WXDIR)\src\msw
39 nmake -f makefile.nt clean
40 cd $(THISDIR)
41
42$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
43 $(link) @<<
44-out:$(PROGRAM).exe
45$(LINKFLAGS)
46$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
47$(LIBS)
48<<
49
50
51$(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(PROGRAM).h $(DUMMYOBJ)
52 $(cc) @<<
53$(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
54<<
55
56$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
57 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
58
59
60clean:
61 -erase *.obj
62 -erase *.exe
63 -erase *.res
64 -erase *.map
65 -erase *.sbr
66 -erase *.pdb