source: trunk/tools/common/makefile.icc@ 3553

Last change on this file since 3553 was 3537, checked in by bird, 26 years ago

Made makefiles more comform with new standards.

File size: 1.3 KB
Line 
1# $Id: makefile.icc,v 1.9 2000-05-13 17:17:46 bird Exp $
2
3#
4# PD-Win32 API
5#
6# Tools common library, ICC version.
7#
8#
9
10
11# Directory macros.
12PDWIN32_INCLUDE = ..\..\include
13PDWIN32_BIN = ..\..\bin\$(OBJDIR)
14PDWIN32_LIB = ..\..\lib
15PDWIN32_TOOLS = ..\bin
16PDWIN32_TCOMMON = ..\common
17
18
19# Defines for the pdwin32.post and pdwin32.mk
20EXETARGET = 1
21LOCALCLEAN = 1
22CLEANEXTRAS = commonicc.lib
23
24
25# Compiler, tools, and interference rules.
26!include $(PDWIN32_INCLUDE)\pdwin32.mk
27
28
29# Addjust common definitions...
30CFLAGS = $(CFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-
31CXXFLAGS = $(CXXFLAGS) -Wall+ppt-ppc-inl-cnv-gnr-vft-
32
33
34#
35# Object files.
36# Important! No space after the filenames! The space will be converted
37# to a '+' operator on the ILIB command line. NMAKE adds a space
38# for each new line. This space is converted to a '+' which
39# prefixes each filenames.
40#
41OBJS =\
42$(OBJDIR)\kFilePe.obj\
43$(OBJDIR)\kFileDef.obj\
44$(OBJDIR)\kFileLx.obj\
45$(OBJDIR)\kFileFormatBase.obj
46
47
48# All rule.
49all: $(OBJDIR) \
50 commonicc.lib
51
52
53commonicc.lib: $(OBJDIR)\commonicc.lib
54 $(CP) $** $@
55
56$(OBJDIR)\commonicc.lib: $(OBJS)
57 $(RM) $@
58 $(ILIB) $@ $(OBJS: = +), NUL;
59
60
61# Dependent rule. Forward to main makefile.
62dep:
63 @$(MAKE) /nologo -f makefile NODEP=1 dep
64
65
66# Includes the common rules.
67!include $(PDWIN32_INCLUDE)/pdwin32.post
68
Note: See TracBrowser for help on using the repository browser.