Index: trunk/archive/pslib/src/Utils/Makefile
===================================================================
--- trunk/archive/pslib/src/Utils/Makefile	(revision 261)
+++ trunk/archive/pslib/src/Utils/Makefile	(revision 323)
@@ -4,11 +4,19 @@
 PSLIB_DIR = ../..
 
-libUtils.a : array.o dlist.o hash.o logmsg.o memory.o misc.o trace.o
+# array.o dlist.o 
+libUtils.a : error.o hash.o logmsg.o memory.o misc.o trace.o
 	ar r libUtils.a $?
 	ranlib libUtils.a
 #
+# Error codes
+#
+psErrorCodes.c : $(PSLIB_DIR)/src/Utils/psErrorCodes.dat
+	$(PSLIB_DIR)/bin/makeErrorCodes -c psErrorCodes.c -h $(PSLIB_DIR)/include/psErrorCodes.h \
+			$(PSLIB_DIR)/src/Utils/psErrorCodes.dat
+error.o : psErrorCodes.c
+#
 # Test code
 #
-TST_PROGS = tst_array tst_dlist tst_hash tst_logmsg tst_memory tst_trace
+TST_PROGS = tst_array tst_dlist tst_error tst_hash tst_logmsg tst_memory tst_trace
 test : $(TST_PROGS)
 	for p in $(TST_PROGS); do \
@@ -20,4 +28,6 @@
 tst_dlist : libUtils.a tst_dlist.o
 	$(CC) -o tst_dlist tst_dlist.o libUtils.a
+tst_error : libUtils.a tst_error.o
+	$(CC) -o tst_error tst_error.o libUtils.a
 tst_hash : libUtils.a tst_hash.o
 	$(CC) -o tst_hash tst_hash.o libUtils.a
@@ -35,4 +45,4 @@
 #
 clean :
-	$(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS
+	$(RM) $(TST_PROGS) *.o *.a *.log *.dvi *.aux *.toc *.log *.out *~ core TAGS psErrorCodes.c
 empty : clean
