]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.vc
1. wxGCBoolRenderer looks better under MSW
[wxWidgets.git] / src / makeprog.vc
CommitLineData
457814b5
JS
1#
2# File: makefile.nt
3# Author: Julian Smart
48d1144b 4# Created: 1999
3e1ed7d7 5# Updated:
48d1144b 6# Copyright: (c) Julian Smart
457814b5 7#
48d1144b
JS
8# Makefile environment for building samples. Include this from
9# your own makefile.
457814b5
JS
10# Use FINAL=1 argument to nmake to build final version with no debugging
11# info
12
c25a510b 13# Set WXDIR for your system
3e1ed7d7 14WXDIR = $(WXWIN)
457814b5
JS
15
16WXUSINGDLL=0
17
48d1144b 18!include $(WXDIR)\src\makevc.env
457814b5 19
5d4b632b 20all: $(PROGRAM).exe
457814b5
JS
21
22wx:
23 cd $(WXDIR)\src\msw
48d1144b
JS
24 nmake -f makefile.vc FINAL=$(FINAL)
25# cd $(THISDIR)
457814b5
JS
26
27wxclean:
28 cd $(WXDIR)\src\msw
48d1144b
JS
29 nmake -f makefile.vc clean
30# cd $(THISDIR)
457814b5 31
4f02408e 32$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
457814b5
JS
33 $(link) @<<
34-out:$(PROGRAM).exe
35$(LINKFLAGS)
4f02408e 36$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
457814b5
JS
37$(LIBS)
38<<
39
4f02408e
JS
40$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
41 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
42
457814b5 43clean:
48d1144b 44 -erase $(OBJECTS)
457814b5
JS
45 -erase *.exe
46 -erase *.res
47 -erase *.map
48 -erase *.sbr
49 -erase *.pdb