1 | # $Id: makefile,v 1.10 2000-02-09 23:47:56 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # PD-Win32 API
|
---|
5 | #
|
---|
6 | # Top of the tree makefile
|
---|
7 | #
|
---|
8 | #
|
---|
9 | # Usage: nmake ( debug | nodebuginfo | release | all | dep | clean )
|
---|
10 | #
|
---|
11 | # debug: Change to a debug build.
|
---|
12 | # debugsmp: Start nmake process in background that processes all
|
---|
13 | # dlls in reverse
|
---|
14 | # nodebuginfo: Change to a debug build without debug info in binaries
|
---|
15 | # nodebuginfosmp: Change to an SMP debug build without debug info in binaries
|
---|
16 | # release: Change to a release build.
|
---|
17 | # releasesmp: Change to an SMP release build.
|
---|
18 | # all: Build the entire tree.
|
---|
19 | # dep: Make dependencies for the entire tree.
|
---|
20 | # clean: Bring tree back to a "virgin" state.
|
---|
21 | #
|
---|
22 | #
|
---|
23 | #
|
---|
24 |
|
---|
25 | all: odin_libraries needed_tools
|
---|
26 | cd src
|
---|
27 | nmake -nologo all
|
---|
28 |
|
---|
29 | clean:
|
---|
30 | cd lib
|
---|
31 | nmake -nologo clean
|
---|
32 | cd ..\tools
|
---|
33 | nmake -nologo clean
|
---|
34 | cd ..\src
|
---|
35 | nmake -nologo clean
|
---|
36 |
|
---|
37 | debug: odin_libraries needed_tools
|
---|
38 | cd src
|
---|
39 | nmake -nologo all DEBUG=1
|
---|
40 |
|
---|
41 | debugsmp: odin_libraries needed_tools
|
---|
42 | cd src
|
---|
43 | start nmake -i -f makefile.smp -nologo all DEBUG=1
|
---|
44 | nmake -nologo all DEBUG=1
|
---|
45 |
|
---|
46 | nodebuginfo: odin_libraries needed_tools
|
---|
47 | cd src
|
---|
48 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
49 |
|
---|
50 | nodebuginfosmp: odin_libraries needed_tools
|
---|
51 | cd src
|
---|
52 | start nmake -i -f makefile.smp -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
53 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
54 |
|
---|
55 | release: odin_libraries needed_tools
|
---|
56 | cd src
|
---|
57 | nmake -nologo all
|
---|
58 |
|
---|
59 | releasesmp: odin_libraries needed_tools
|
---|
60 | cd src
|
---|
61 | start nmake -i -f makefile.smp -nologo all
|
---|
62 | nmake -nologo all
|
---|
63 |
|
---|
64 | dep: needed_tools
|
---|
65 | cd tools
|
---|
66 | nmake -nologo dep
|
---|
67 | cd ..\src
|
---|
68 | nmake -nologo dep
|
---|
69 |
|
---|
70 |
|
---|
71 | # --- common section ---
|
---|
72 | odin_libraries:
|
---|
73 | cd lib
|
---|
74 | nmake -nologo
|
---|
75 | cd ..
|
---|
76 |
|
---|
77 |
|
---|
78 | needed_tools:
|
---|
79 | cd tools
|
---|
80 | nmake needed
|
---|
81 | cd ..
|
---|