]> git.saurik.com Git - wxWidgets.git/blob - samples/sashtest/makefile.nt
Got Penguin sample running under Windows.
[wxWidgets.git] / samples / sashtest / makefile.nt
1 #
2 # File: makefile.nt
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993, AIAI, University of Edinburgh
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds sashtest 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 WXUSINGDLL=0
17
18 !include $(WXDIR)\src\ntwxwin.mak
19
20 PROGRAM=sashtest
21 PROGOBJECTS = $(PROGRAM).obj
22
23 all: $(PROGRAM)
24
25 $(PROGRAM): $(PROGRAM).exe
26
27 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(PROGRAM).res
28 $(link) @<<
29 -out:$(PROGRAM).exe
30 $(LINKFLAGS)
31 $(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
32 $(LIBS)
33 <<
34
35 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
36 $(cc) @<<
37 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
38 <<
39
40 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
41 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
42
43
44 clean:
45 -erase *.obj
46 -erase *.exe
47 -erase *.res
48 -erase *.map
49 -erase *.sbr
50 -erase *.pdb
51