Index: trunk/psLib/src/collections/Makefile
===================================================================
--- trunk/psLib/src/collections/Makefile	(revision 765)
+++ trunk/psLib/src/collections/Makefile	(revision 858)
@@ -3,6 +3,6 @@
 ##  Makefile:   collections
 ##
-##  $Revision: 1.15 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-05-24 23:01:35 $
+##  $Revision: 1.16 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-06-04 03:14:37 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -39,4 +39,7 @@
 all: $(TARGET_STATIC)
 
+# force the creation of a psImage.i for psImage.o (to expand macros).
+psImage.o: psImage.i
+
 # Rule to make static library
 
@@ -60,8 +63,14 @@
 clean:
 	@echo "    Deleting intermediate files for 'collections'"
-	$(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d*)
+	$(RM) $(SRC_OBJS) *.lint $(SRC_OBJS:.o=.d*) $(SRC_OBJS:.o=.i)
 
 %.lint: %.c
 	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
+
+%.i: %.c
+	$(CC) -E $(CFLAGS) -o $@ $<
+
+%.o: %.i
+	$(CC) -c $(CFLAGS) -o $@ $<
 
 %.d: %.c
