]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/makelib.vc
fix for memory leaks (patch 885242)
[wxWidgets.git] / src / makelib.vc
... / ...
CommitLineData
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)
13WXDIR = $(WXWIN)
14
15!include $(WXDIR)\src\makevc.env
16
17!if "$(RM)" == ""
18RM= erase
19!endif
20
21all: $(D) $(EXTRATARGETS) $(LIBTARGET)
22
23$(D) :
24 mkdir $(D)
25
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)
35 -$(RM) $(LIBTARGET)
36 $(implib) @<<
37-out:$(LIBTARGET)
38-machine:$(CPU)
39$(OBJECTS)
40<<
41
42clean:
43 -$(RM) $(LIBTARGET)
44 -$(RM) $(OBJECTS)
45 -$(RM) *.exe
46 -$(RM) *.res
47 -$(RM) *.map
48 -$(RM) *.sbr
49 -$(RM) *.pdb