]> git.saurik.com Git - wxWidgets.git/blame - src/makeprog.vc
DEBUG => __WXDEBUG__
[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
6adaedf0 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
5d4b632b 32$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS)
457814b5
JS
33 $(link) @<<
34-out:$(PROGRAM).exe
35$(LINKFLAGS)
5d4b632b 36$(DUMMYOBJ) $(OBJECTS)
457814b5
JS
37$(LIBS)
38<<
39
457814b5 40clean:
48d1144b 41 -erase $(OBJECTS)
457814b5
JS
42 -erase *.exe
43 -erase *.res
44 -erase *.map
45 -erase *.sbr
46 -erase *.pdb