Changeset 3532 for trunk/tools/common/makefile.icc
- Timestamp:
- May 13, 2000, 5:40:34 PM (25 years ago)
- File:
-
- 1 edited
-
trunk/tools/common/makefile.icc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/common/makefile.icc
r3246 r3532 1 # $Id: makefile.icc,v 1. 6 2000-03-27 10:18:42bird Exp $1 # $Id: makefile.icc,v 1.7 2000-05-13 15:40:34 bird Exp $ 2 2 3 3 # … … 9 9 10 10 11 # 12 # Include common definitions 13 # 14 PDWIN32_TOOLS = ..\bin 15 PDWIN32_INCLUDE = ..\..\include 16 !include $(PDWIN32_INCLUDE)\pdwin32.mk 11 17 12 # include common definitions13 PDWIN32_INCLUDE = ..\..\include 14 !include ..\..\include\pdwin32.mk 18 # Definitions for pdwin32.post 19 LOCALCLEAN = 1 20 CLEANEXTRAS = commonicc.lib 15 21 16 # Addjust common definitions 17 AR = ilib /nofree /quiet /nobackup 22 # 23 # Addjust common definitions... 24 # 18 25 CFLAGS = $(CFLAGS) -Ge+ -Tx+ -Tm+ -I$(PDWIN32_INCLUDE) -Wall+ppt-ppc-inl-cnv-gnr-vft- 19 26 CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -Tm+ -I$(PDWIN32_INCLUDE) -Wall+ppt-ppc-inl-cnv-gnr-vft- 20 27 21 28 22 all: commonicc.lib 29 # 30 # Object files. 31 # Important! No space after the filenames! The space will be converted 32 # to a '+' operator on the ILIB command line. NMAKE adds a space 33 # for each new line. This space is converted to a '+' which 34 # prefixes each filenames. 35 # 36 OBJS =\ 37 $(OBJDIR)\kFilePe.obj\ 38 $(OBJDIR)\kFileDef.obj\ 39 $(OBJDIR)\kFileLx.obj\ 40 $(OBJDIR)\kFileFormatBase.obj 23 41 24 42 25 commonicc.lib: kFilePe.obj kFileDef.obj kFileLx.obj kFileFormatBase.obj 26 -$(RM) $@ 27 $(AR) $@ -+kFilePe.obj -+kFileDef.obj -+kFileLx.obj -+kFileFormatBase.obj, NUL; 43 # 44 # All rule. 45 # 46 all: $(OBJDIR) \ 47 commonicc.lib 28 48 29 49 50 commonicc.lib: $(OBJDIR)\commonicc.lib 51 $(CP) $@ $** 52 53 $(OBJDIR)\commonicc.lib: $(OBJS) 54 $(RM) $@ 55 $(ILIB) $@ $(OBJS: = +), NUL; 56 57 # 58 # dependent rule. forward to main makefile. 59 # 30 60 dep: 31 @nmake /nologo -f makefile NODEP=1 dep 32 33 !ifndef NODEP 34 !include .depend 35 !endif 61 @$(MAKE) /nologo -f makefile NODEP=1 dep 36 62 37 63 38 clean: 39 @$(RM) *.obj commonicc.lib cset*.pch 64 # Includes the common rules. 65 !include $(PDWIN32_INCLUDE)/pdwin32.post 40 66 41 42 43
Note:
See TracChangeset
for help on using the changeset viewer.
