]> git.saurik.com Git - wxWidgets.git/blame - src/makelib.vc
fix for memory leaks (patch 885242)
[wxWidgets.git] / src / makelib.vc
CommitLineData
48d1144b
JS
1#
2# File: makelib.vc
3# Author: Julian Smart
4# Created: 1999
8a28f119 5# Updated:
48d1144b
JS
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
3e1ed7d7 12# Set WXDIR for your system (hint, set an environment variable named WXWIN)
b4d1ebf0 13WXDIR = $(WXWIN)
48d1144b
JS
14
15!include $(WXDIR)\src\makevc.env
16
fcc86425
GT
17!if "$(RM)" == ""
18RM= erase
19!endif
20
21all: $(D) $(EXTRATARGETS) $(LIBTARGET)
48d1144b 22
1126585b
JS
23$(D) :
24 mkdir $(D)
25
48d1144b
JS
26wx:
27 cd $(WXDIR)\src\msw
28 nmake -f makefile.vc FINAL=$(FINAL)
29
30wxclean:
31 cd $(WXDIR)\src\msw
32 nmake -f makefile.vc clean
33
34$(LIBTARGET): $(OBJECTS)
fcc86425 35 -$(RM) $(LIBTARGET)
48d1144b
JS
36 $(implib) @<<
37-out:$(LIBTARGET)
38-machine:$(CPU)
39$(OBJECTS)
40<<
41
42clean:
fcc86425
GT
43 -$(RM) $(LIBTARGET)
44 -$(RM) $(OBJECTS)
45 -$(RM) *.exe
46 -$(RM) *.res
47 -$(RM) *.map
48 -$(RM) *.sbr
49 -$(RM) *.pdb