]> git.saurik.com Git - wxWidgets.git/blob - samples/forty/makefile.nt
Test for image conversion correctness.
[wxWidgets.git] / samples / forty / makefile.nt
1 #
2 # File: makefile.nt
3 # Author: Julian Smart
4 # Created: 1997
5 # Updated:
6 # Copyright:
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds Forty Thieves example (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16
17 !include $(WXDIR)\src\ntwxwin.mak
18
19 THISDIR = $(WXDIR)\samples\forty
20 PROGRAM=forty
21
22 OBJECTS = $(PROGRAM).obj canvas.obj card.obj game.obj pile.obj playerdg.obj scoredg.obj scorefil.obj
23
24 $(PROGRAM): $(PROGRAM).exe
25
26 all: wx $(PROGRAM).exe
27
28 wx:
29 cd $(WXDIR)\src\msw
30 nmake -f makefile.nt FINAL=$(FINAL)
31 cd $(THISDIR)
32
33 wxclean:
34 cd $(WXDIR)\src\msw
35 nmake -f makefile.nt clean
36 cd $(THISDIR)
37
38 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
39 $(link) @<<
40 -out:$(PROGRAM).exe
41 $(LINKFLAGS)
42 $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
43 $(LIBS)
44 <<
45
46
47 $(PROGRAM).obj: $(PROGRAM).h $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
48 $(cc) @<<
49 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
50 <<
51
52 canvas.obj: forty.h canvas.h canvas.$(SRCSUFF) $(DUMMYOBJ)
53 $(cc) @<<
54 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
55 <<
56
57 card.obj: forty.h card.h card.$(SRCSUFF) $(DUMMYOBJ)
58 $(cc) @<<
59 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
60 <<
61
62 pile.obj: forty.h pile.h pile.$(SRCSUFF) $(DUMMYOBJ)
63 $(cc) @<<
64 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
65 <<
66
67 game.obj: forty.h game.h game.$(SRCSUFF) $(DUMMYOBJ)
68 $(cc) @<<
69 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
70 <<
71
72 playerdg.obj: forty.h playerdg.h playerdg.$(SRCSUFF) $(DUMMYOBJ)
73 $(cc) @<<
74 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
75 <<
76
77 scoredg.obj: forty.h scoredg.h scoredg.$(SRCSUFF) $(DUMMYOBJ)
78 $(cc) @<<
79 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
80 <<
81
82 scorefil.obj: forty.h scorefil.h scorefil.$(SRCSUFF) $(DUMMYOBJ)
83 $(cc) @<<
84 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
85 <<
86
87 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
88 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\fafa -fo$@ $(PROGRAM).rc
89
90
91 clean:
92 -erase *.obj
93 -erase *.sbr
94 -erase *.exe
95 -erase *.res
96 -erase *.map
97 -erase *.pdb
98