Index: trunk/psLib/src/collections/Makefile
===================================================================
--- trunk/psLib/src/collections/Makefile	(revision 672)
+++ trunk/psLib/src/collections/Makefile	(revision 675)
@@ -3,6 +3,6 @@
 ##  Makefile:   collections
 ##
-##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-13 20:10:36 $
+##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-14 00:59:11 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -32,5 +32,6 @@
 SRC_OBJS = psBitSet.o \
            psVector.o \
-           psSort.o
+           psSort.o \
+           psImage.o
 
 # Define PHONY target "all" which will make all the necessary items
@@ -62,3 +63,11 @@
 
 %.lint: %.c
-	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 
+	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
+
+%.d: %.c
+	@set -e; rm -f $@; \
+	$(CC) -M $(CFLAGS) $< > $@.$$$$; \
+	sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+	rm -f $@.$$$$
+
+include $(SRC_OBJS:.o=.d)
