source: trunk/tools/makefile@ 2562

Last change on this file since 2562 was 2058, checked in by achimha, 26 years ago

* empty log message *

File size: 1.1 KB
RevLine 
[2058]1# $Id: makefile,v 1.6 1999-12-12 10:52:14 achimha 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
20MAKE_CMD = nmake -nologo DEBUG=1
21!else
22MAKE_CMD = nmake -nologo
23!endif
24
25
26all:
27 cd common
28 $(MAKE_CMD)
29 cd ..\database
30 $(MAKE_CMD)
31 cd ..\impdef
32 $(MAKE_CMD)
[908]33 cd ..\wrc
[2046]34 make -f makefile.os2
[908]35 cd ..
[825]36
37# compile tools needed to compile rest of the tree.
38needed:
39 cd common
40 $(MAKE_CMD) needed
41 cd ..\impdef
42 $(MAKE_CMD)
[908]43 cd ..
[825]44
45clean:
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
[2046]54 cd ..\bin
[2058]55# wrc.exe requires lots of tools so better not remove it...
56# -$(RM) *.exe *.dll
[920]57 cd ..\..
[825]58
Note: See TracBrowser for help on using the repository browser.