Line | |
---|
1 | # $Id: makefile,v 1.8 1999-11-05 14:27:09 sandervl Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # PD-Win32 API
|
---|
5 | #
|
---|
6 | # Top of the tree makefile
|
---|
7 | #
|
---|
8 | #
|
---|
9 | # Usage: nmake ( debug | nodebuginfo | release | all | 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 | # clean: Bring tree back to a "virgin" state.
|
---|
20 | #
|
---|
21 | #
|
---|
22 | #
|
---|
23 |
|
---|
24 | all: odin_libraries needed_tools
|
---|
25 | cd src
|
---|
26 | nmake -nologo all
|
---|
27 |
|
---|
28 | clean:
|
---|
29 | cd lib
|
---|
30 | nmake -nologo clean
|
---|
31 | cd ..\tools
|
---|
32 | nmake -nologo clean
|
---|
33 | cd ..\src
|
---|
34 | nmake -nologo clean
|
---|
35 |
|
---|
36 | debug: odin_libraries needed_tools
|
---|
37 | cd src
|
---|
38 | nmake -nologo all DEBUG=1
|
---|
39 |
|
---|
40 | debugsmp: odin_libraries needed_tools
|
---|
41 | cd src
|
---|
42 | start nmake -i -f makefile.smp -nologo all DEBUG=1
|
---|
43 | nmake -nologo all DEBUG=1
|
---|
44 |
|
---|
45 | nodebuginfo: odin_libraries needed_tools
|
---|
46 | cd src
|
---|
47 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
48 |
|
---|
49 | nodebuginfosmp: odin_libraries needed_tools
|
---|
50 | cd src
|
---|
51 | start nmake -i -f makefile.smp -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
52 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
---|
53 |
|
---|
54 | release: odin_libraries needed_tools
|
---|
55 | cd src
|
---|
56 | nmake -nologo all
|
---|
57 |
|
---|
58 | releasesmp: odin_libraries needed_tools
|
---|
59 | cd src
|
---|
60 | start nmake -i -f makefile.smp -nologo all
|
---|
61 | nmake -nologo all
|
---|
62 |
|
---|
63 |
|
---|
64 | # --- common section ---
|
---|
65 | odin_libraries:
|
---|
66 | cd lib
|
---|
67 | nmake -nologo
|
---|
68 | cd ..
|
---|
69 |
|
---|
70 |
|
---|
71 | needed_tools:
|
---|
72 | cd tools
|
---|
73 | nmake needed
|
---|
74 | cd ..
|
---|
Note:
See
TracBrowser
for help on using the repository browser.