IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2004, 4:16:04 PM (22 years ago)
Author:
desonia
Message:

Reverted *.d back to not using 'sed -i', which is not supported in OS/X.

File:
1 edited

Legend:

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

    r728 r732  
    33##  Makefile:   sysUtils
    44##
    5 ##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-19 01:20:53 $
     5##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-05-19 02:16:04 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7070
    7171%.d: %.c
    72         $(CC) -M $(CFLAGS) $< > $@
    73         sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
     72        $(CC) -M $(CFLAGS) $< > $@.tmp
     73        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     74        $(RM) -f $@.$$$$
    7475
    7576include $(SRC_OBJS:.o=.d)
Note: See TracChangeset for help on using the changeset viewer.