]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1993 | |
5 | # Updated: | |
6 | # Copyright: (c) 1993, AIAI, University of Edinburgh | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for Windows 3.1 | |
11 | # You can invoke the makefile in this directory, wx/src, or | |
12 | # equally from wx/src/msw. This makefile was created to be | |
13 | # consistent with other makefiles which were appearing this | |
14 | # directory. | |
15 | ||
16 | # Arguments: | |
17 | # | |
18 | # FINAL=1 argument to nmake to build version with no debugging info. | |
19 | # DEBUG=1 argument to nmake to build DEBUG version (memory checking, tracing) | |
20 | # | |
21 | # Set WXDIR to the wxWindows directory if env. variable WXWIN not set. | |
22 | # | |
23 | WXDIR = $(WXWIN) | |
24 | THISDIR = $(WXDIR)\src\msw | |
25 | WXLIB = $(WXDIR)\lib | |
26 | WXINC = $(WXDIR)\include\msw | |
27 | WXBASESRC = $(WXDIR)\src\base | |
28 | WXBASEINC = $(WXDIR)\include\base | |
29 | ||
30 | !ifndef FINAL | |
31 | FINAL=0 | |
32 | !endif | |
33 | ||
34 | !ifndef WXDEBUG | |
35 | WXDEBUG=0 | |
36 | !endif | |
37 | ||
38 | all: | |
39 | cd $(WXDIR)\src\msw | |
40 | nmake -f makefile.dos FINAL=$(FINAL) WXDEBUG=$(WXDEBUG) | |
41 | cd $(THISDIR) | |
42 | ||
43 | clean: | |
44 | cd $(WXDIR)\src\msw | |
45 | nmake -f makefile.dos clean | |
46 | cd $(THISDIR) | |
47 | ||
48 | cleanall: | |
49 | cd $(WXDIR)\src\msw | |
50 | nmake -f makefile.dos cleanall | |
51 | cd $(THISDIR) |