]> git.saurik.com Git - wxWidgets.git/blob - src/makeprog.vc
OS/2 PM Fixeups for fonts, validators, and html
[wxWidgets.git] / src / makeprog.vc
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
14 WXDIR = j:\dev\wx2\wxWindows
15
16 WXUSINGDLL=0
17
18 !include $(WXDIR)\src\makevc.env
19
20 all: $(PROGRAM).exe
21
22 wx:
23 cd $(WXDIR)\src\msw
24 nmake -f makefile.vc FINAL=$(FINAL)
25 # cd $(THISDIR)
26
27 wxclean:
28 cd $(WXDIR)\src\msw
29 nmake -f makefile.vc clean
30 # cd $(THISDIR)
31
32 $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS)
33 $(link) @<<
34 -out:$(PROGRAM).exe
35 $(LINKFLAGS)
36 $(DUMMYOBJ) $(OBJECTS)
37 $(LIBS)
38 <<
39
40 clean:
41 -erase $(OBJECTS)
42 -erase *.exe
43 -erase *.res
44 -erase *.map
45 -erase *.sbr
46 -erase *.pdb