]> git.saurik.com Git - wxWidgets.git/blame - samples/toolbar/makefile.nt
Fixes for wxlist
[wxWidgets.git] / samples / toolbar / makefile.nt
CommitLineData
14d1ccd8
JS
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 buttnbar 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
15WXDIR = $(WXWIN)
16
17!include $(WXDIR)\src\ntwxwin.mak
18
19THISDIR = $(WXDIR)\samples\toolbar
20PROGRAM=test
21
22OBJECTS = $(PROGRAM).obj
23
24$(PROGRAM): $(PROGRAM).exe
25
26all: wx $(PROGRAM).exe
27
28wx:
29 cd $(WXDIR)\src\msw
30 nmake -f makefile.nt FINAL=$(FINAL)
31 cd $(THISDIR)
32
33wxclean:
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$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
53 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
54
55
56clean:
57 -erase *.obj
58 -erase *.sbr
59 -erase *.exe
60 -erase *.res
61 -erase *.map
62 -erase *.pdb