]>
Commit | Line | Data |
---|---|---|
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 | 13 | WXDIR = $(WXWIN) |
48d1144b JS |
14 | |
15 | !include $(WXDIR)\src\makevc.env | |
16 | ||
df801fc6 | 17 | all: $(EXTRATARGETS) $(LIBTARGET) |
48d1144b | 18 | |
1126585b JS |
19 | $(D) : |
20 | mkdir $(D) | |
21 | ||
48d1144b JS |
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 |