IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

changed *.d again to not use 'sed -i' (which is not supported in OS/X).

File:
1 edited

Legend:

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

    r714 r733  
    33##  Makefile:   test/collections
    44##
    5 ##  $Revision: 1.5 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-18 02:34:00 $
     5##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-05-19 02:16:58 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5353
    5454%.o : %.c
    55         $(CC) $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $< 
     55        $(CC) $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $<
    5656
    5757%   : %.o
    58         $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) -lpslib -lpstest -o $@ $< 
     58        $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) -lpslib -lpstest -o $@ $<
    5959
    6060%.lint: %.c
    6161        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    6262
     63%.d: %.c
     64        $(CC) -M $(CFLAGS) $< > $@.tmp
     65        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     66        $(RM) -f $@.tmp
    6367
Note: See TracChangeset for help on using the changeset viewer.