|
Last change
on this file since 890 was 887, checked in by bird, 26 years ago |
|
Corrected clean rule.
The lib dir and the tools tree are cleaned instead of maked.
|
|
File size:
824 bytes
|
| Rev | Line | |
|---|
| [887] | 1 | # $Id: makefile,v 1.4 1999-09-08 22:38:59 bird Exp $
|
|---|
| [4] | 2 |
|
|---|
| 3 | #
|
|---|
| [845] | 4 | # PD-Win32 API
|
|---|
| [4] | 5 | #
|
|---|
| 6 | # Top of the tree makefile
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 | # Usage: nmake ( debug | release | all | clean )
|
|---|
| [845] | 10 | #
|
|---|
| [4] | 11 | # debug: Change to a debug build.
|
|---|
| 12 | # release: Change to a release build.
|
|---|
| 13 | # all: Build the entire tree.
|
|---|
| 14 | # clean: Bring tree back to a "virgin" state.
|
|---|
| 15 | #
|
|---|
| [845] | 16 | #
|
|---|
| 17 | #
|
|---|
| [4] | 18 |
|
|---|
| [845] | 19 | all: odin_libraries needed_tools
|
|---|
| [23] | 20 | cd src
|
|---|
| 21 | nmake -nologo all
|
|---|
| [4] | 22 |
|
|---|
| [887] | 23 | clean:
|
|---|
| 24 | cd ..\lib
|
|---|
| 25 | nmake -nologo clean
|
|---|
| 26 | cd tools
|
|---|
| 27 | nmake -nologo clean
|
|---|
| 28 | cd ..\src
|
|---|
| [23] | 29 | nmake -nologo clean
|
|---|
| [4] | 30 |
|
|---|
| [845] | 31 | debug: odin_libraries needed_tools
|
|---|
| [23] | 32 | cd src
|
|---|
| 33 | nmake -nologo all DEBUG=1
|
|---|
| [4] | 34 |
|
|---|
| [845] | 35 | release: odin_libraries needed_tools
|
|---|
| [23] | 36 | cd src
|
|---|
| [845] | 37 | nmake -nologo all
|
|---|
| [23] | 38 |
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | # --- common section ---
|
|---|
| 42 | odin_libraries:
|
|---|
| 43 | cd lib
|
|---|
| 44 | nmake -nologo
|
|---|
| 45 | cd ..
|
|---|
| 46 |
|
|---|
| [845] | 47 |
|
|---|
| 48 | needed_tools:
|
|---|
| 49 | cd tools
|
|---|
| 50 | nmake needed
|
|---|
| 51 | cd ..
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.