source: trunk/makefile@ 908

Last change on this file since 908 was 887, checked in by bird, 26 years ago

Corrected clean rule.
The lib dir and the tools tree are cleaned instead of maked.

File size: 824 bytes
Line 
1# $Id: makefile,v 1.4 1999-09-08 22:38:59 bird Exp $
2
3#
4# PD-Win32 API
5#
6# Top of the tree makefile
7#
8#
9# Usage: nmake ( debug | release | all | clean )
10#
11# debug: Change to a debug build.
12# release: Change to a release build.
13# all: Build the entire tree.
14# clean: Bring tree back to a "virgin" state.
15#
16#
17#
18
19all: odin_libraries needed_tools
20 cd src
21 nmake -nologo all
22
23clean:
24 cd ..\lib
25 nmake -nologo clean
26 cd tools
27 nmake -nologo clean
28 cd ..\src
29 nmake -nologo clean
30
31debug: odin_libraries needed_tools
32 cd src
33 nmake -nologo all DEBUG=1
34
35release: odin_libraries needed_tools
36 cd src
37 nmake -nologo all
38
39
40
41# --- common section ---
42odin_libraries:
43 cd lib
44 nmake -nologo
45 cd ..
46
47
48needed_tools:
49 cd tools
50 nmake needed
51 cd ..
Note: See TracBrowser for help on using the repository browser.