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