source:
trunk/makefile@
1036
| Last change on this file since 1036 was 931, checked in by , 26 years ago | |
|---|---|
| File size: 826 bytes | |
| Rev | Line | |
|---|---|---|
| [931] | 1 | # $Id: makefile,v 1.5 1999-09-14 15:58:42 sandervl 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: |
| [931] | 24 | cd lib |
| [887] | 25 | nmake -nologo clean |
| [931] | 26 | cd ..\tools |
| [887] | 27 | nmake -nologo clean |
| [931] | 28 | cd ..\src |
| 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.
