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/sysUtils/Makefile

    r675 r728  
    33##  Makefile:   sysUtils
    44##
    5 ##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-14 00:59:11 $
     5##  $Revision: 1.11 $  $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
     
    7070
    7171%.d: %.c
    72         @set -e; rm -f $@; \
    73         $(CC) -M $(CFLAGS) $< > $@.$$$$; \
    74         sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
    75         rm -f $@.$$$$
     72        $(CC) -M $(CFLAGS) $< > $@
     73        sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
    7674
    7775include $(SRC_OBJS:.o=.d)
Note: See TracChangeset for help on using the changeset viewer.