]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makeprog.vc
ignore CodeWarrior build directory and files produced during compilation
[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
20!if "$(RM)" == ""
21RM= erase
22!endif
23
24all: $(PROGRAM).exe
25
26wx:
27 cd $(WXDIR)\src\msw
28 nmake -f makefile.vc FINAL=$(FINAL)
29# cd $(THISDIR)
30
31wxclean:
32 cd $(WXDIR)\src\msw
33 nmake -f makefile.vc clean
34# cd $(THISDIR)
35
36$(PROGRAM).exe: $(WXLIB) $(OBJECTS) $(PROGRAM).res
37 $(link) @<<
38-out:$(PROGRAM).exe
39$(LINKFLAGS)
40$(OBJECTS) $(DUMMYOBJ) $(PROGRAM).res
41$(LIBS)
42<<
43
44$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
45 $(rc) -r /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$@ $(PROGRAM).rc
46
47clean:
48 -$(RM) $(OBJECTS)
49 -$(RM) *.exe
50 -$(RM) *.res
51 -$(RM) *.map
52 -$(RM) *.sbr
53 -$(RM) *.pdb