IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 728


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

cleaned up the generation of *.d files.

Location:
trunk/psLib/src
Files:
3 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)
  • trunk/psLib/src/dataManip/Makefile

    r698 r728  
    3030clean:
    3131        @echo "    Deleting intermediate files for 'sysUtils'"
    32         $(RM) $(SRC_OBJS) *.lint
     32        $(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d)
    3333
    3434%.lint: %.c
     
    3636
    3737%.d: %.c
    38         @set -e; rm -f $@; \
    39         $(CC) -M $(CFLAGS) $< > $@.$$$$; \
    40         sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
    41         rm -f $@.$$$$
     38        $(CC) -M $(CFLAGS) $< > $@
     39        sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
    4240
    4341include $(SRC_OBJS:.o=.d)
  • 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.