source: trunk/makefile@ 4114

Last change on this file since 4114 was 4024, checked in by bird, 25 years ago

Added SET DEBUG= to the two release rules.

File size: 2.2 KB
Line 
1# $Id: makefile,v 1.12 2000-08-17 05:11:22 bird Exp $
2
3#
4# PD-Win32 API
5#
6# Top of the tree makefile
7#
8#
9# Usage: nmake ( debug | nodebuginfo | release | all | dep | clean )
10#
11# debug: Change to a debug build.
12# debugsmp: Start nmake process in background that processes all
13# dlls in reverse
14# nodebuginfo: Change to a debug build without debug info in binaries
15# nodebuginfosmp: Change to an SMP debug build without debug info in binaries
16# release: Change to a release build.
17# releasesmp: Change to an SMP release build.
18# all: Build the entire tree.
19# dep: Make dependencies for the entire tree.
20# clean: Bring tree back to a "virgin" state.
21#
22#
23#
24
25all: odin_libraries needed_tools
26 cd src
27 nmake -nologo all
28 cd ..\tools\install
29 nmake -nologo all
30
31clean:
32 cd lib
33 nmake -nologo clean
34 cd ..\tools
35 nmake -nologo clean
36 cd ..\src
37 nmake -nologo clean
38
39debug: odin_libraries needed_tools
40 cd src
41 nmake -nologo all DEBUG=1
42 cd ..\tools\install
43 nmake -nologo all DEBUG=1
44
45debugsmp: odin_libraries needed_tools
46 cd src
47 start nmake -i -f makefile.smp -nologo all DEBUG=1
48 nmake -nologo all DEBUG=1
49 cd ..\tools\install
50 nmake -nologo all DEBUG=1
51
52nodebuginfo: odin_libraries needed_tools
53 cd src
54 nmake -nologo all DEBUG=1 NODEBUGINFO=1
55 cd ..\tools\install
56 nmake -nologo all DEBUG=1 NODEBUGINFO=1
57
58nodebuginfosmp: odin_libraries needed_tools
59 cd src
60 start nmake -i -f makefile.smp -nologo all DEBUG=1 NODEBUGINFO=1
61 nmake -nologo all DEBUG=1 NODEBUGINFO=1
62 cd ..\tools\install
63 nmake -nologo all DEBUG=1 NODEBUGINFO=1
64
65release: odin_libraries needed_tools
66 SET DEBUG=
67 cd src
68 nmake -nologo all
69 cd ..\tools\install
70 nmake -nologo all
71
72releasesmp: odin_libraries needed_tools
73 SET DEBUG=
74 cd src
75 start nmake -i -f makefile.smp -nologo all
76 nmake -nologo all
77 cd ..\tools\install
78 nmake -nologo all
79
80dep: needed_tools
81 cd tools
82 nmake -nologo dep
83 cd ..\src
84 nmake -nologo dep
85
86
87# --- common section ---
88odin_libraries:
89 cd lib
90 nmake -nologo
91 cd ..
92
93
94needed_tools:
95 cd tools
96 nmake needed
97 cd ..
Note: See TracBrowser for help on using the repository browser.