| Line | |
|---|
| 1 | # $Id: makefile,v 1.6 1999-10-28 15:23:05 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 | # nodebuginfo: Change to a debug build without debug info in binaries
|
|---|
| 13 | # release: Change to a release build.
|
|---|
| 14 | # all: Build the entire tree.
|
|---|
| 15 | # clean: Bring tree back to a "virgin" state.
|
|---|
| 16 | #
|
|---|
| 17 | #
|
|---|
| 18 | #
|
|---|
| 19 |
|
|---|
| 20 | all: odin_libraries needed_tools
|
|---|
| 21 | cd src
|
|---|
| 22 | nmake -nologo all
|
|---|
| 23 |
|
|---|
| 24 | clean:
|
|---|
| 25 | cd lib
|
|---|
| 26 | nmake -nologo clean
|
|---|
| 27 | cd ..\tools
|
|---|
| 28 | nmake -nologo clean
|
|---|
| 29 | cd ..\src
|
|---|
| 30 | nmake -nologo clean
|
|---|
| 31 |
|
|---|
| 32 | debug: odin_libraries needed_tools
|
|---|
| 33 | cd src
|
|---|
| 34 | nmake -nologo all DEBUG=1
|
|---|
| 35 |
|
|---|
| 36 | nodebuginfo: odin_libraries needed_tools
|
|---|
| 37 | cd src
|
|---|
| 38 | nmake -nologo all DEBUG=1 NODEBUGINFO=1
|
|---|
| 39 |
|
|---|
| 40 | release: odin_libraries needed_tools
|
|---|
| 41 | cd src
|
|---|
| 42 | nmake -nologo all
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | # --- common section ---
|
|---|
| 47 | odin_libraries:
|
|---|
| 48 | cd lib
|
|---|
| 49 | nmake -nologo
|
|---|
| 50 | cd ..
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 | needed_tools:
|
|---|
| 54 | cd tools
|
|---|
| 55 | nmake needed
|
|---|
| 56 | cd ..
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.