Index: trunk/psLib/src/collections/Makefile
===================================================================
--- trunk/psLib/src/collections/Makefile	(revision 675)
+++ trunk/psLib/src/collections/Makefile	(revision 728)
@@ -3,6 +3,6 @@
 ##  Makefile:   collections
 ##
-##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-14 00:59:11 $
+##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-19 01:20:53 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -60,5 +60,5 @@
 clean:
 	@echo "    Deleting intermediate files for 'collections'"
-	$(RM) $(SRC_OBJS) *.lint
+	$(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d)
 
 %.lint: %.c
@@ -66,8 +66,6 @@
 
 %.d: %.c
-	@set -e; rm -f $@; \
-	$(CC) -M $(CFLAGS) $< > $@.$$$$; \
-	sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
-	rm -f $@.$$$$
+	$(CC) -M $(CFLAGS) $< > $@
+	sed -i 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@
 
 include $(SRC_OBJS:.o=.d)
