IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 732


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.

Location:
trunk/psLib/src
Files:
3 edited

Legend:

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

    r728 r732  
    33##  Makefile:   collections
    44##
    5 ##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-19 01:20:53 $
     5##  $Revision: 1.14 $  $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
     
    6666
    6767%.d: %.c
    68         $(CC) -M $(CFLAGS) $< > $@
    69         sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
     68        $(CC) -M $(CFLAGS) $< > $@.tmp
     69        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     70        $(RM) -f $@.tmp
    7071
    7172include $(SRC_OBJS:.o=.d)
  • trunk/psLib/src/dataManip/Makefile

    r729 r732  
    3333
    3434%.lint: %.c
    35         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     35        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
     36
     37%.d: %.c
     38        $(CC) -M $(CFLAGS) $< > $@.tmp
     39        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     40        $(RM) -f $@.tmp
     41
     42include $(SRC_OBJS:.o=.d)
  • 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.