Rev | Line | |
---|
[920] | 1 | # $Id: makefile,v 1.3 1999-09-13 14:29:48 sandervl Exp $
|
---|
[825] | 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)
|
---|
[908] | 33 | cd ..\wrc
|
---|
[920] | 34 | $(MAKE_CMD) -f makefile.os2
|
---|
[908] | 35 | cd ..
|
---|
[825] | 36 |
|
---|
| 37 | # compile tools needed to compile rest of the tree.
|
---|
| 38 | needed:
|
---|
| 39 | cd common
|
---|
| 40 | $(MAKE_CMD) needed
|
---|
| 41 | cd ..\impdef
|
---|
| 42 | $(MAKE_CMD)
|
---|
[908] | 43 | cd ..
|
---|
[825] | 44 |
|
---|
| 45 | clean:
|
---|
| 46 | cd common
|
---|
| 47 | $(MAKE_CMD) clean
|
---|
| 48 | cd ..\database
|
---|
| 49 | $(MAKE_CMD) clean
|
---|
| 50 | cd ..\impdef
|
---|
| 51 | $(MAKE_CMD) clean
|
---|
[908] | 52 | cd ..\wrc
|
---|
[920] | 53 | $(MAKE_CMD) -f makefile.os2 clean
|
---|
[825] | 54 | cd ..\bin
|
---|
[908] | 55 | -$(RM) *.exe *.dll
|
---|
[920] | 56 | cd ..\..
|
---|
[825] | 57 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.