source: trunk/tools/makefile@ 4802

Last change on this file since 4802 was 4712, checked in by bird, 25 years ago

New makefile style.

File size: 921 bytes
Line 
1# $Id: makefile,v 1.14 2000-12-02 23:26:57 bird Exp $
2
3#
4# Odin32 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#
23!include ../makefile.inc
24
25
26#
27# The directories included in the usual makes; all, clean, dep rules.
28#
29ALL_DIRS = \
30.\common \
31.\database \
32.\impdef \
33.\fastdep \
34.\wrc \
35.\omfdumper \
36.\sdf \
37.\install
38
39
40#
41# Dummy all rule.
42#
43_all: all
44
45
46#
47# common rules.
48#
49$(COMMONRULES):
50 $(DODIRS) "$(ALL_DIRS)" $(MAKE_CMD) $@
51
52
53#
54# compile tools needed to compile rest of the tree.
55#
56needed:
57 $(DODIRS) "fastdep common impdef" $(MAKE_CMD)
58
59
60#
61# Do not includes the common rules.
62#
63
Note: See TracBrowser for help on using the repository browser.