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

Last change on this file since 3669 was 3592, checked in by bird, 25 years ago

File I/O class - initial coding, not tested at all!

File size: 1.4 KB
Line 
1# $Id: makefile.icc,v 1.10 2000-05-23 18:23:04 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
54commonicc.lib: $(OBJDIR)\commonicc.lib
55 $(CP) $** $@
56
57$(OBJDIR)\commonicc.lib: $(OBJS)
58 $(RM) $@
59 $(ILIB) /nobackup $@ $(OBJS: = +), NUL;
60
61
62# Dependent rule. Forward to main makefile.
63dep:
64 @$(MAKE) /nologo -f makefile NODEP=1 dep
65
66
67# Includes the common rules.
68!include $(PDWIN32_INCLUDE)/pdwin32.post
69
Note: See TracBrowser for help on using the repository browser.