Index: /trunk/archive/pslib/Makefile
===================================================================
--- /trunk/archive/pslib/Makefile	(revision 486)
+++ /trunk/archive/pslib/Makefile	(revision 487)
@@ -1,15 +1,20 @@
-# $Id: Makefile,v 1.7 2004-04-19 19:38:18 rhl Exp $
+# $Id: Makefile,v 1.8 2004-04-21 14:22:03 rhl Exp $
 SHELL = /bin/sh
-DIRS = src include
+DIRS = bin include lib src ups
 
-.PHONY : all
-all :
+.PHONY : all clean
+all clean :
 	@for f in $(DIRS); do \
 		if [ ! -d $$f ]; then \
 			echo No such directory: $$f >&2; \
 		else \
-			(cd $$f; $(MAKE)); \
+			(cd $$f; $(MAKE) $(MFLAGS) $@); \
 		fi \
 	done
+
+clean : topClean
+.PHONY : topClean
+topClean:
+	$(RM) *~ core* TAGS
 
 .PHONY : tags
@@ -27,13 +32,2 @@
 publish:
 	rsync -e ssh -auv ./ poiserver0:PSLib/
-
-clean:
-	$(RM) *~ core* TAGS
-	@for f in $(DIRS); do \
-		if [ ! -d $$f ]; then \
-			echo No such directory: $$f >&2; \
-		else \
-			(cd $$f; $(MAKE) clean); \
-		fi \
-	done
-
