Ignore:
Timestamp:
May 13, 2000, 5:40:34 PM (25 years ago)
Author:
bird
Message:

Updated makefiles to be more comform with the new makefile style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common/makefile.icc

    r3246 r3532  
    1 # $Id: makefile.icc,v 1.6 2000-03-27 10:18:42 bird Exp $
     1# $Id: makefile.icc,v 1.7 2000-05-13 15:40:34 bird Exp $
    22
    33#
     
    99
    1010
     11#
     12# Include common definitions
     13#
     14PDWIN32_TOOLS   = ..\bin
     15PDWIN32_INCLUDE = ..\..\include
     16!include $(PDWIN32_INCLUDE)\pdwin32.mk
    1117
    12 # include common definitions
    13 PDWIN32_INCLUDE = ..\..\include
    14 !include ..\..\include\pdwin32.mk
     18# Definitions for pdwin32.post
     19LOCALCLEAN  = 1
     20CLEANEXTRAS = commonicc.lib
    1521
    16 # Addjust common definitions
    17 AR       = ilib /nofree /quiet /nobackup
     22#
     23# Addjust common definitions...
     24#
    1825CFLAGS   = $(CFLAGS)   -Ge+ -Tx+ -Tm+ -I$(PDWIN32_INCLUDE)      -Wall+ppt-ppc-inl-cnv-gnr-vft-
    1926CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -Tm+ -I$(PDWIN32_INCLUDE) -Wall+ppt-ppc-inl-cnv-gnr-vft-
    2027
    2128
    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#
     36OBJS =\
     37$(OBJDIR)\kFilePe.obj\
     38$(OBJDIR)\kFileDef.obj\
     39$(OBJDIR)\kFileLx.obj\
     40$(OBJDIR)\kFileFormatBase.obj
    2341
    2442
    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#
     46all:    $(OBJDIR) \
     47        commonicc.lib
    2848
    2949
     50commonicc.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#
    3060dep:
    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
    3662
    3763
    38 clean:
    39    @$(RM) *.obj commonicc.lib cset*.pch
     64# Includes the common rules.
     65!include $(PDWIN32_INCLUDE)/pdwin32.post
    4066
    41 
    42 
    43 
Note: See TracChangeset for help on using the changeset viewer.