]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.vc
fixed a bug in handling mailcap entries with more than one commands with tests
[wxWidgets.git] / src / makelib.vc
1 #
2 # File: makelib.vc
3 # Author: Julian Smart
4 # Created: 1999
5 # Updated:
6 # Copyright: (c) Julian Smart
7 #
8 # Makefile : Builds a library for a utility
9 # Use FINAL=1 argument to nmake to build final version with no debugging
10 # info
11
12 # Set WXDIR for your system (hint, set an environment variable named WXWIN)
13 WXDIR = $(WXWIN)
14
15 !include $(WXDIR)\src\makevc.env
16
17 all: $(EXTRATARGETS) $(LIBTARGET)
18
19 $(D) :
20 mkdir $(D)
21
22 wx:
23 cd $(WXDIR)\src\msw
24 nmake -f makefile.vc FINAL=$(FINAL)
25
26 wxclean:
27 cd $(WXDIR)\src\msw
28 nmake -f makefile.vc clean
29
30 $(LIBTARGET): $(OBJECTS)
31 -erase $(LIBTARGET)
32 $(implib) @<<
33 -out:$(LIBTARGET)
34 -machine:$(CPU)
35 $(OBJECTS)
36 <<
37
38 clean:
39 -erase $(LIBTARGET)
40 -erase $(OBJECTS)
41 -erase *.exe
42 -erase *.res
43 -erase *.map
44 -erase *.sbr
45 -erase *.pdb