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

Last change on this file since 4673 was 4620, checked in by bird, 25 years ago

New makefile style.

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