source: trunk/tools/makefile@ 3459

Last change on this file since 3459 was 3459, checked in by sandervl, 26 years ago

added warpin installation script & app + wrc bugfix

File size: 1.8 KB
RevLine 
[3459]1# $Id: makefile,v 1.9 2000-04-29 18:23:33 sandervl 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#
18!include ..\include\pdwin32.tools
19
20!ifdef DEBUG
21MAKE_CMD = nmake -nologo DEBUG=1
22!else
23MAKE_CMD = nmake -nologo
24!endif
25
26
27all:
[2714]28 cd common
29 $(MAKE_CMD)
30 cd ..\database
31 $(MAKE_CMD)
32 cd ..\impdef
33 $(MAKE_CMD)
34 cd ..\fastdep
35 $(MAKE_CMD)
36 cd ..\wrc
37 $(MAKE_CMD) -f makefile.os2
38 cd ..\omfdumper
39 $(MAKE_CMD)
40 cd ..\sdf
41 $(MAKE_CMD)
[3459]42 cd ..\install
43 $(MAKE_CMD)
[2714]44 cd ..
[825]45
46# compile tools needed to compile rest of the tree.
47needed:
[2714]48 cd fastdep
49 $(MAKE_CMD)
50 cd ..\common
51 $(MAKE_CMD) NODEP=1 dep
52 $(MAKE_CMD) needed
[3459]53 cd ..\install
54 $(MAKE_CMD)
[2714]55 cd ..\impdef
56 $(MAKE_CMD) NODEP=1 dep
57 $(MAKE_CMD)
58 cd ..
[825]59
[2714]60
61dep:
62 cd common
63 $(MAKE_CMD) NODEP=1 dep
64 cd ..\database
65 $(MAKE_CMD) NODEP=1 dep
66 cd ..\impdef
67 $(MAKE_CMD) NODEP=1 dep
68 cd ..\wrc
69 $(MAKE_CMD) -f makefile.os2 NODEP=1 dep
70 cd ..\omfdumper
71 $(MAKE_CMD) NODEP=1 dep
72 cd ..\sdf
73 $(MAKE_CMD) NODEP=1 dep
74 cd ..
75
76
[825]77clean:
[2714]78 cd common
[2728]79 $(MAKE_CMD) NODEP=1 clean
[2714]80 cd ..\database
[2728]81 $(MAKE_CMD) NODEP=1 clean
[2714]82 cd ..\impdef
[2728]83 $(MAKE_CMD) NODEP=1 clean
[2714]84 cd ..\fastdep
[2728]85 $(MAKE_CMD) NODEP=1 clean
[2714]86 cd ..\wrc
[2728]87 $(MAKE_CMD) -f makefile.os2 NODEP=1 clean
[2714]88 cd ..\omfdumper
[2728]89 $(MAKE_CMD) NODEP=1 clean
[2714]90 cd ..\sdf
[2728]91 $(MAKE_CMD) NODEP=1 clean
[2714]92
93 cd ..\bin
[2058]94# wrc.exe requires lots of tools so better not remove it...
[2714]95# $(RM) *.exe *.dll
96 cd ..\..
[825]97
Note: See TracBrowser for help on using the repository browser.