]>
Commit | Line | Data |
---|---|---|
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: $(LIBTARGET) | |
18 | ||
19 | wx: | |
20 | cd $(WXDIR)\src\msw | |
21 | nmake -f makefile.vc FINAL=$(FINAL) | |
22 | ||
23 | wxclean: | |
24 | cd $(WXDIR)\src\msw | |
25 | nmake -f makefile.vc clean | |
26 | ||
27 | $(LIBTARGET): $(OBJECTS) | |
28 | -erase $(LIBTARGET) | |
29 | $(implib) @<< | |
30 | -out:$(LIBTARGET) | |
31 | -machine:$(CPU) | |
32 | $(OBJECTS) | |
33 | << | |
34 | ||
35 | clean: | |
36 | -erase $(LIBTARGET) | |
37 | -erase $(OBJECTS) | |
38 | -erase *.exe | |
39 | -erase *.res | |
40 | -erase *.map | |
41 | -erase *.sbr | |
42 | -erase *.pdb |