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

Last change on this file since 4384 was 4358, checked in by bird, 25 years ago

Added some limited dump capabilities for PE executables.

File size: 1.5 KB
Line 
1# $Id: makefile.icc,v 1.11 2000-10-02 04:01:40 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$(OBJDIR)\kFile.obj
47
48
49# All rule.
50all: $(OBJDIR) \
51 commonicc.lib
52
53
54# CommonICC
55commonicc.lib: $(OBJDIR)\commonicc.lib
56 $(CP) $** $@
57
58$(OBJDIR)\commonicc.lib: $(OBJS)
59 $(RM) $@
60 $(ILIB) /nobackup $@ $(OBJS: = +), NUL;
61
62# kDump
63kDump.exe: $(OBJDIR)\kDump.exe
64 $(CP) $** $@
65
66$(OBJDIR)\kDump.exe: commonicc.lib $(OBJDIR)\kDump.obj
67 $(LD) $(LDFLAGS) -Fe$@ $** $(RTLLIB) OS2386.LIB
68
69
70# Dependent rule. Forward to main makefile.
71dep:
72 @$(MAKE) /nologo -f makefile NODEP=1 dep
73
74
75# Includes the common rules.
76!include $(PDWIN32_INCLUDE)/pdwin32.post
77
Note: See TracBrowser for help on using the repository browser.