Index: /trunk/psLib/src/collections/Makefile
===================================================================
--- /trunk/psLib/src/collections/Makefile	(revision 674)
+++ /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)
Index: /trunk/psLib/src/dataManip/Makefile
===================================================================
--- /trunk/psLib/src/dataManip/Makefile	(revision 674)
+++ /trunk/psLib/src/dataManip/Makefile	(revision 675)
@@ -6,5 +6,5 @@
 include ../Makefile.Globals
 CFLAGS := $(CFLAGS_RELOC) -I.
-SRC_OBJS = psStats.o
+SRC_OBJS = 
 
 all: $(TARGET_STATIC)
@@ -35,3 +35,9 @@
 	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)
Index: /trunk/psLib/src/sysUtils/Makefile
===================================================================
--- /trunk/psLib/src/sysUtils/Makefile	(revision 674)
+++ /trunk/psLib/src/sysUtils/Makefile	(revision 675)
@@ -3,6 +3,6 @@
 ##  Makefile:   sysUtils
 ##
-##  $Revision: 1.9 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-06 23:24:03 $
+##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-14 00:59:11 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -41,5 +41,5 @@
 # Define PHONY target "all" which will make all the necessary items
 
-all: $(TARGET_STATIC) 
+all: $(TARGET_STATIC)
 
 # Rule to make static library
@@ -64,6 +64,14 @@
 clean:
 	@echo "    Deleting intermediate files for 'sysUtils'"
-	$(RM) $(SRC_OBJS) *.lint
+	$(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d)
 
 %.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)
