]> git.saurik.com Git - wxWidgets.git/blob - samples/splitter/makefile.nt
Rmoved more wxprop files
[wxWidgets.git] / samples / splitter / makefile.nt
1 #
2 # File: makefile.nt
3 # Author: Julian Smart
4 # Created: 1997
5 # Updated:
6 # Copyright: (c) 1997, Julian Smart
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds wxSplitterWindow sample 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 WXSPLITDIR = $(WXDIR)\samples\splitter
17 THISDIR = $(WXDIR)\samples\splitter
18
19 !include $(WXDIR)\src\ntwxwin.mak
20
21 PROGRAM=test
22
23 PROGOBJECTS = $(PROGRAM).obj
24
25 all: $(PROGRAM)
26
27 $(PROGRAM): $(PROGRAM).exe
28
29 wx:
30 cd $(WXDIR)\src\msw
31 nmake -f makefile.nt FINAL=$(FINAL)
32 cd $(THISDIR)
33
34 wxclean:
35 cd $(WXDIR)\src\msw
36 nmake -f makefile.nt clean
37 cd $(THISDIR)
38
39 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(PROGRAM).res
40 $(link) @<<
41 -out:$(PROGRAM).exe
42 $(LINKFLAGS)
43 $(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
44 $(LIBS)
45 <<
46
47 $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
48 $(cc) @<<
49 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
50 <<
51
52 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
53 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
54
55
56 clean:
57 -erase *.obj
58 -erase *.sbr
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.pdb
63