source: trunk/tools/makefile@ 4673

Last change on this file since 4673 was 4620, checked in by bird, 25 years ago

New makefile style.

File size: 1.1 KB
Line 
1# $Id: makefile,v 1.13 2000-11-19 08:20:55 bird Exp $
2
3#
4# PD-Win32 API
5#
6# Top of the tools tree makefile
7#
8#
9# Usage: nmake ( all | needed | dep | clean )
10#
11# all: Build the entire tools tree.
12# needed: Builds the tools used during compilation of the src tree.
13# dep: Make dependencies for the tools tree.
14# clean: Bring tools tree back to a "virgin" state.
15#
16#
17#
18
19
20#
21# Directory macros.
22#
23PDWIN32_INCLUDE = ..\include
24PDWIN32_TOOLS = .\bin
25!include $(PDWIN32_INCLUDE)\pdwin32.tools
26
27
28#
29# The directories included in the usual makes; all, clean, dep rules.
30#
31ALL_DIRS = \
32.\common \
33.\database \
34.\impdef \
35.\fastdep \
36.\wrc \
37.\omfdumper \
38.\sdf \
39.\install
40
41
42#
43# Dummy all rule.
44#
45_all: all
46
47
48#
49# common rules.
50#
51dep clean all:
52 $(DODIRS) "$(ALL_DIRS)" $(MAKE_CMD) $@
53
54
55#
56# compile tools needed to compile rest of the tree.
57#
58needed:
59 cd fastdep
60 $(MAKE_CMD)
61 cd ..\common
62 $(MAKE_CMD) NODEP=1 dep
63 $(MAKE_CMD) needed
64 cd ..\impdef
65 $(MAKE_CMD) NODEP=1 dep
66 $(MAKE_CMD)
67 cd ..
68
69
70#
71# Do not includes the common rules.
72#
73
Note: See TracBrowser for help on using the repository browser.