Index: trunk/archive/pslib/src/Utils/Makefile
===================================================================
--- trunk/archive/pslib/src/Utils/Makefile	(revision 228)
+++ trunk/archive/pslib/src/Utils/Makefile	(revision 261)
@@ -8,16 +8,24 @@
 	ranlib libUtils.a
 #
-# Test code (change #if 0 to #if 1 in ONE source file to build)
+# Test code
 #
-array : libUtils.a array.o
-	$(CC) -o array array.o libUtils.a
-dlist : libUtils.a dlist.o
-	$(CC) -o dlist dlist.o libUtils.a
-logmsg : libUtils.a logmsg.o
-	$(CC) -o logmsg logmsg.o libUtils.a
-memory : libUtils.a
-	$(CC) -o memory memory.o libUtils.a
-trace : libUtils.a
-	$(CC) -o trace trace.o libUtils.a
+TST_PROGS = tst_array tst_dlist tst_hash tst_logmsg tst_memory tst_trace
+test : $(TST_PROGS)
+	for p in $(TST_PROGS); do \
+		echo $$p; \
+		$$p; \
+	done
+tst_array : libUtils.a tst_array.o
+	$(CC) -o tst_array tst_array.o libUtils.a
+tst_dlist : libUtils.a tst_dlist.o
+	$(CC) -o tst_dlist tst_dlist.o libUtils.a
+tst_hash : libUtils.a tst_hash.o
+	$(CC) -o tst_hash tst_hash.o libUtils.a
+tst_logmsg : libUtils.a tst_logmsg.o
+	$(CC) -o tst_logmsg tst_logmsg.o libUtils.a
+tst_memory : libUtils.a tst_memory.o
+	$(CC) -o tst_memory tst_memory.o libUtils.a
+tst_trace : libUtils.a tst_trace.o
+	$(CC) -o tst_trace tst_trace.o libUtils.a
 #
 #
@@ -27,4 +35,4 @@
 #
 clean :
-	$(RM) $(PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
+	$(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
 empty : clean
