IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2004, 2:59:11 PM (22 years ago)
Author:
desonia
Message:

added automagic determination of code dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/Makefile

    r665 r675  
    33##  Makefile:   collections
    44##
    5 ##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-13 20:10:36 $
     5##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-05-14 00:59:11 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3232SRC_OBJS = psBitSet.o \
    3333           psVector.o \
    34            psSort.o
     34           psSort.o \
     35           psImage.o
    3536
    3637# Define PHONY target "all" which will make all the necessary items
     
    6263
    6364%.lint: %.c
    64         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     65        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     66
     67%.d: %.c
     68        @set -e; rm -f $@; \
     69        $(CC) -M $(CFLAGS) $< > $@.$$$$; \
     70        sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
     71        rm -f $@.$$$$
     72
     73include $(SRC_OBJS:.o=.d)
Note: See TracChangeset for help on using the changeset viewer.