]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.vc
added wxUSE_FS_INET/ZIP
[wxWidgets.git] / src / makeprog.vc
CommitLineData
457814b5
JS
1#
2# File: makefile.nt
3# Author: Julian Smart
48d1144b 4# Created: 1999
457814b5 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
13# Set WXDIR for your system
14WXDIR = $(WXWIN)
15
16WXUSINGDLL=0
17
48d1144b 18!include $(WXDIR)\src\makevc.env
457814b5 19
48d1144b 20all: $(PROGRAM).exe $(EXTRATARGETS)
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
JS
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
457814b5
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