source:
trunk/makefile@
1569
Last change on this file since 1569 was 1492, checked in by , 26 years ago | |
---|---|
File size: 1015 bytes |
Rev | Line | |
---|---|---|
[1492] | 1 | # $Id: makefile,v 1.6 1999-10-28 15:23:05 sandervl Exp $ |
[4] | 2 | |
3 | # | |
[845] | 4 | # PD-Win32 API |
[4] | 5 | # |
6 | # Top of the tree makefile | |
7 | # | |
8 | # | |
[1492] | 9 | # Usage: nmake ( debug | nodebuginfo | release | all | clean ) |
[845] | 10 | # |
[4] | 11 | # debug: Change to a debug build. |
[1492] | 12 | # nodebuginfo: Change to a debug build without debug info in binaries |
[4] | 13 | # release: Change to a release build. |
14 | # all: Build the entire tree. | |
15 | # clean: Bring tree back to a "virgin" state. | |
16 | # | |
[845] | 17 | # |
18 | # | |
[4] | 19 | |
[845] | 20 | all: odin_libraries needed_tools |
[23] | 21 | cd src |
22 | nmake -nologo all | |
[4] | 23 | |
[887] | 24 | clean: |
[931] | 25 | cd lib |
[887] | 26 | nmake -nologo clean |
[931] | 27 | cd ..\tools |
[887] | 28 | nmake -nologo clean |
[931] | 29 | cd ..\src |
30 | nmake -nologo clean | |
[4] | 31 | |
[845] | 32 | debug: odin_libraries needed_tools |
[23] | 33 | cd src |
34 | nmake -nologo all DEBUG=1 | |
[4] | 35 | |
[1492] | 36 | nodebuginfo: odin_libraries needed_tools |
37 | cd src | |
38 | nmake -nologo all DEBUG=1 NODEBUGINFO=1 | |
39 | ||
[845] | 40 | release: odin_libraries needed_tools |
[23] | 41 | cd src |
[845] | 42 | nmake -nologo all |
[23] | 43 | |
44 | ||
45 | ||
46 | # --- common section --- | |
47 | odin_libraries: | |
48 | cd lib | |
49 | nmake -nologo | |
50 | cd .. | |
51 | ||
[845] | 52 | |
53 | needed_tools: | |
54 | cd tools | |
55 | nmake needed | |
56 | cd .. |
Note:
See TracBrowser
for help on using the repository browser.