Index: trunk/psLib/test/Makefile
===================================================================
--- trunk/psLib/test/Makefile	(revision 541)
+++ trunk/psLib/test/Makefile	(revision 781)
@@ -3,6 +3,6 @@
 ##  Makefile:   test
 ##
-##  $Revision: 1.2 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-04-28 02:51:39 $
+##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-05-25 23:56:26 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -51,5 +51,5 @@
 # Define PHONY target "install" which will install necessary files
 
-install: $(TARGET_STATIC) $(TARGET_DYNAMIC)
+install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir)
 	install *.h $(includedir)
 	install $(TARGET_STATIC) $(libexecdir)
@@ -72,2 +72,13 @@
 %.lint: %.c
 	splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 
+
+# Rule to make include directory if needed
+
+$(includedir):
+	mkdir -p $(includedir)
+
+# Rule to make lib directory if needed
+
+$(libexecdir):
+	mkdir -p $(libexecdir)
+
