IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2004, 3:20:53 PM (22 years ago)
Author:
desonia
Message:

cleaned up the generation of *.d files.

File:
1 edited

Legend:

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

    r675 r728  
    33##  Makefile:   collections
    44##
    5 ##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-14 00:59:11 $
     5##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-05-19 01:20:53 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    6060clean:
    6161        @echo "    Deleting intermediate files for 'collections'"
    62         $(RM) $(SRC_OBJS) *.lint
     62        $(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d)
    6363
    6464%.lint: %.c
     
    6666
    6767%.d: %.c
    68         @set -e; rm -f $@; \
    69         $(CC) -M $(CFLAGS) $< > $@.$$$$; \
    70         sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
    71         rm -f $@.$$$$
     68        $(CC) -M $(CFLAGS) $< > $@
     69        sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
    7270
    7371include $(SRC_OBJS:.o=.d)
Note: See TracChangeset for help on using the changeset viewer.