source: trunk/makefile@ 3670

Last change on this file since 3670 was 3470, checked in by bird, 25 years ago

The install directory have to be made after kernel32.lib is made. It is
not regarded as a "needed tool". So, tools\install is the last thing we
make.

File size: 2.2 KB
Line 
1# $Id: makefile,v 1.11 2000-05-02 11:24:52 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 cd src
67 nmake -nologo all
68 cd ..\tools\install
69 nmake -nologo all
70
71releasesmp: odin_libraries needed_tools
72 cd src
73 start nmake -i -f makefile.smp -nologo all
74 nmake -nologo all
75 cd ..\tools\install
76 nmake -nologo all
77
78dep: needed_tools
79 cd tools
80 nmake -nologo dep
81 cd ..\src
82 nmake -nologo dep
83
84
85# --- common section ---
86odin_libraries:
87 cd lib
88 nmake -nologo
89 cd ..
90
91
92needed_tools:
93 cd tools
94 nmake needed
95 cd ..
Note: See TracBrowser for help on using the repository browser.