Index: trunk/psLib/src/collections/Makefile
===================================================================
--- trunk/psLib/src/collections/Makefile	(revision 728)
+++ trunk/psLib/src/collections/Makefile	(revision 732)
@@ -3,6 +3,6 @@
 ##  Makefile:   collections
 ##
-##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-19 01:20:53 $
+##  $Revision: 1.14 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-19 02:16:04 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -66,6 +66,7 @@
 
 %.d: %.c
-	$(CC) -M $(CFLAGS) $< > $@
-	sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
+	$(CC) -M $(CFLAGS) $< > $@.tmp
+	sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
+	$(RM) -f $@.tmp
 
 include $(SRC_OBJS:.o=.d)
