source: trunk/tools/makefile@ 4682

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

New makefile style.

File size: 1.1 KB
RevLine 
[4620]1# $Id: makefile,v 1.13 2000-11-19 08:20:55 bird Exp $
[825]2
3#
4# PD-Win32 API
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#
[4332]23PDWIN32_INCLUDE = ..\include
[4620]24PDWIN32_TOOLS = .\bin
[4332]25!include $(PDWIN32_INCLUDE)\pdwin32.tools
[825]26
27
[4620]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
[825]40
41
[4620]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#
[825]56# compile tools needed to compile rest of the tree.
[4620]57#
[825]58needed:
[2714]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 ..
[825]68
[2714]69
[4620]70#
71# Do not includes the common rules.
72#
[2714]73
Note: See TracBrowser for help on using the repository browser.