]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.vc
latest CW additions
[wxWidgets.git] / src / makeprog.vc
... / ...
CommitLineData
1#
2# File: makefile.nt
3# Author: Julian Smart
4# Created: 1999
5# Updated:
6# Copyright: (c) Julian Smart
7#
8# Makefile environment for building samples. Include this from
9# your own makefile.
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
18!include $(WXDIR)\src\makevc.env
19
20all: $(PROGRAM).exe $(EXTRATARGETS)
21
22wx:
23 cd $(WXDIR)\src\msw
24 nmake -f makefile.vc FINAL=$(FINAL)
25# cd $(THISDIR)
26
27wxclean:
28 cd $(WXDIR)\src\msw
29 nmake -f makefile.vc clean
30# cd $(THISDIR)
31
32$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
33 $(link) @<<
34-out:$(PROGRAM).exe
35$(LINKFLAGS)
36$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
37$(LIBS)
38<<
39
40$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
41 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
42
43clean:
44 -erase $(OBJECTS)
45 -erase *.exe
46 -erase *.res
47 -erase *.map
48 -erase *.sbr
49 -erase *.pdb