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
RevLine 
[4712]1# $Id: makefile,v 1.14 2000-12-02 23:26:57 bird Exp $
[825]2
3#
[4712]4# Odin32 API
[825]5#
6# Top of the tools tree makefile
7#
8#
[2714]9# Usage: nmake ( all | needed | dep | clean )
[825]10#
11# all: Build the entire tools tree.
12# needed: Builds the tools used during compilation of the src tree.
[2714]13# dep: Make dependencies for the tools tree.
[825]14# clean: Bring tools tree back to a "virgin" state.
15#
16#
17#
[4620]18
19
20#
21# Directory macros.
22#
[4712]23!include ../makefile.inc
[825]24
25
[4620]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
[825]38
39
[4620]40#
41# Dummy all rule.
42#
43_all: all
44
45
46#
47# common rules.
48#
[4712]49$(COMMONRULES):
[4620]50 $(DODIRS) "$(ALL_DIRS)" $(MAKE_CMD) $@
51
52
53#
[825]54# compile tools needed to compile rest of the tree.
[4620]55#
[825]56needed:
[4712]57 $(DODIRS) "fastdep common impdef" $(MAKE_CMD)
[825]58
[2714]59
[4620]60#
61# Do not includes the common rules.
62#
[2714]63
Note: See TracBrowser for help on using the repository browser.