| [1594] | 1 | # $Id: makefile,v 1.7 1999-11-04 18:50:50 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.
|
|---|
| [1594] | 12 | # debugsmp: Start nmake process in background that processes all
|
|---|
| 13 | # dlls in reverse (linking fails, but first nmake will
|
|---|
| 14 | # correct this)
|
|---|
| [1492] | 15 | # nodebuginfo: Change to a debug build without debug info in binaries
|
|---|
| [1594] | 16 | # nodebuginfosmp: Change to an SMP debug build without debug info in binaries
|
|---|
| [4] | 17 | # release: Change to a release build.
|
|---|
| [1594] | 18 | # releasesmp: Change to an SMP release build.
|
|---|
| [4] | 19 | # all: Build the entire tree.
|
|---|
| 20 | # clean: Bring tree back to a "virgin" state.
|
|---|
| 21 | #
|
|---|
| [845] | 22 | #
|
|---|
| 23 | #
|
|---|
| [4] | 24 |
|
|---|
| [845] | 25 | all: odin_libraries needed_tools
|
|---|
| [23] | 26 | cd src
|
|---|
| 27 | nmake -nologo all
|
|---|
| [4] | 28 |
|
|---|
| [887] | 29 | clean:
|
|---|
| [931] | 30 | cd lib
|
|---|
| [887] | 31 | nmake -nologo clean
|
|---|
| [931] | 32 | cd ..\tools
|
|---|
| [887] | 33 | nmake -nologo clean
|
|---|
| [931] | 34 | cd ..\src
|
|---|
| 35 | nmake -nologo clean
|
|---|
| [4] | 36 |
|
|---|
| [845] | 37 | debug: odin_libraries needed_tools
|
|---|
| [23] | 38 | cd src
|
|---|
| 39 | nmake -nologo all DEBUG=1
|
|---|
| [4] | 40 |
|
|---|
| [1594] | 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 |
|
|---|
| [1492] | 46 | nodebuginfo: odin_libraries needed_tools
|
|---|
| 47 | cd src
|
|---|
| 48 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
|---|
| 49 |
|
|---|
| [1594] | 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 |
|
|---|
| [845] | 55 | release: odin_libraries needed_tools
|
|---|
| [23] | 56 | cd src
|
|---|
| [845] | 57 | nmake -nologo all
|
|---|
| [23] | 58 |
|
|---|
| [1594] | 59 | releasesmp: odin_libraries needed_tools
|
|---|
| 60 | cd src
|
|---|
| 61 | start nmake -i -f makefile.smp -nologo all
|
|---|
| 62 | nmake -nologo all
|
|---|
| [23] | 63 |
|
|---|
| 64 |
|
|---|
| 65 | # --- common section ---
|
|---|
| 66 | odin_libraries:
|
|---|
| 67 | cd lib
|
|---|
| 68 | nmake -nologo
|
|---|
| 69 | cd ..
|
|---|
| 70 |
|
|---|
| [845] | 71 |
|
|---|
| 72 | needed_tools:
|
|---|
| 73 | cd tools
|
|---|
| 74 | nmake needed
|
|---|
| 75 | cd ..
|
|---|