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