source: trunk/tools/common/makefile@ 1036

Last change on this file since 1036 was 826, checked in by bird, 26 years ago

Corrected makefile remarks.

File size: 1.1 KB
Line 
1# $Id: makefile,v 1.2 1999-09-05 02:30:45 bird Exp $
2
3#
4# PD-Win32 API
5#
6# Tools common parts
7#
8# Usage: nmake ( all | clean )
9#
10# all: Build the entire src.
11# clean: Back to a "virgin" state.
12# needed: Builds the tools used during compilation of the src tree.
13# commonicc.lib: Build the IBM VA for C++ version of the library.
14# commongcc.a: Build the gcc version of the library - aout
15# commongcc.lib: Build the gcc version of the library - OMF.
16#
17#
18!ifdef DEBUG
19MAKE_CMD = nmake -nologo DEBUG=1
20!else
21MAKE_CMD = nmake -nologo
22!endif
23
24all: commonicc.lib commongcc.a commongcc.lib
25
26
27needed: commonicc.lib
28
29
30commonicc.lib: dummy
31 -@echo $@
32 @$(MAKE_CMD) -f makefile.icc
33
34commongcc.a: dummy
35 -@echo $@
36 @$(MAKE_CMD) OMF=0 -f makefile.gcc
37
38commongcc.lib: dummy
39 -@echo $@
40 @$(MAKE_CMD) OMF=1 -f makefile.gcc
41
42#a simple hack to make nmake process the target.
43dummy:
44 -@echo ...
45
46clean:
47 @$(MAKE_CMD) -f makefile.icc clean
48 @$(MAKE_CMD) OMF=0 -f makefile.gcc clean
49 @$(MAKE_CMD) OMF=1 -f makefile.gcc clean
50
51
52
Note: See TracBrowser for help on using the repository browser.