| Line | |
|---|
| 1 | # $Id: makefile,v 1.1 1999-09-05 02:26:39 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # PD-Win32 API
|
|---|
| 5 | #
|
|---|
| 6 | # Top of the tools tree makefile
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 | # Usage: nmake ( all | needed | clean )
|
|---|
| 10 | #
|
|---|
| 11 | # all: Build the entire tools tree.
|
|---|
| 12 | # needed: Builds the tools used during compilation of the src tree.
|
|---|
| 13 | # clean: Bring tools tree back to a "virgin" state.
|
|---|
| 14 | #
|
|---|
| 15 | #
|
|---|
| 16 | #
|
|---|
| 17 | !include ..\include\pdwin32.tools
|
|---|
| 18 |
|
|---|
| 19 | !ifdef DEBUG
|
|---|
| 20 | MAKE_CMD = nmake -nologo DEBUG=1
|
|---|
| 21 | !else
|
|---|
| 22 | MAKE_CMD = nmake -nologo
|
|---|
| 23 | !endif
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | all:
|
|---|
| 27 | cd common
|
|---|
| 28 | $(MAKE_CMD)
|
|---|
| 29 | cd ..\database
|
|---|
| 30 | $(MAKE_CMD)
|
|---|
| 31 | cd ..\impdef
|
|---|
| 32 | $(MAKE_CMD)
|
|---|
| 33 |
|
|---|
| 34 | # compile tools needed to compile rest of the tree.
|
|---|
| 35 | needed:
|
|---|
| 36 | cd common
|
|---|
| 37 | $(MAKE_CMD) needed
|
|---|
| 38 | cd ..\impdef
|
|---|
| 39 | $(MAKE_CMD)
|
|---|
| 40 |
|
|---|
| 41 | clean:
|
|---|
| 42 | cd common
|
|---|
| 43 | $(MAKE_CMD) clean
|
|---|
| 44 | cd ..\database
|
|---|
| 45 | $(MAKE_CMD) clean
|
|---|
| 46 | cd ..\impdef
|
|---|
| 47 | $(MAKE_CMD) clean
|
|---|
| 48 | cd ..\bin
|
|---|
| 49 | -$(RM) *.exe
|
|---|
| 50 | -$(RM) *.dll
|
|---|
| 51 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.