]> git.saurik.com Git - wxWidgets.git/blob - src/makelib.vc
Updated to new PyCrust
[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 !if "$(RM)" == ""
18 RM= erase
19 !endif
20
21 all: $(D) $(EXTRATARGETS) $(LIBTARGET)
22
23 $(D) :
24 mkdir $(D)
25
26 wx:
27 cd $(WXDIR)\src\msw
28 nmake -f makefile.vc FINAL=$(FINAL)
29
30 wxclean:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.vc clean
33
34 $(LIBTARGET): $(OBJECTS)
35 -$(RM) $(LIBTARGET)
36 $(implib) @<<
37 -out:$(LIBTARGET)
38 -machine:$(CPU)
39 $(OBJECTS)
40 <<
41
42 clean:
43 -$(RM) $(LIBTARGET)
44 -$(RM) $(OBJECTS)
45 -$(RM) *.exe
46 -$(RM) *.res
47 -$(RM) *.map
48 -$(RM) *.sbr
49 -$(RM) *.pdb