Index: branches/rel4/psLib/test/astronomy/Makefile
===================================================================
--- branches/rel4/psLib/test/astronomy/Makefile	(revision 3059)
+++ branches/rel4/psLib/test/astronomy/Makefile	(revision 3101)
@@ -3,6 +3,6 @@
 ##  Makefile:   test/astronomy
 ##
-##  $Revision: 1.25.2.1 $  $Name: not supported by cvs2svn $
-##  $Date: 2005-01-19 02:17:04 $
+##  $Revision: 1.25.2.2 $  $Name: not supported by cvs2svn $
+##  $Date: 2005-01-27 20:00:12 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -38,12 +38,25 @@
          tst_psCoord \
          tst_psAstrometry01
+ 
+TARGET_CFG = test.psTime.config1 \
+         test.psTime.config2 \
+         test.psTime.config3 \
+         test.psTime.config4 
 
 OBJS = $(addprefix builddir/,$(addsuffix .o,$(TARGET)))
 
-all: $(TARGET)
-	sed 's|PREFIX|$(prefix)|' test.psTime.config1.template > test.psTime.config1
-	sed 's|PREFIX|$(prefix)|' test.psTime.config2.template > test.psTime.config2
-	sed 's|PREFIX|$(prefix)|' test.psTime.config3.template > test.psTime.config3
-	sed 's|PREFIX|$(prefix)|' test.psTime.config4.template > test.psTime.config4
+all: $(TARGET) $(TARGET_CFG)
+
+test.psTime.config1: test.psTime.config1.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config2: test.psTime.config2.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config3: test.psTime.config3.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
+
+test.psTime.config4: test.psTime.config4.template
+	sed 's|PREFIX|$(prefix)|' $< > $@
 
 clean:
@@ -52,10 +65,10 @@
 
 distclean: clean
-	$(RM) $(TARGET)
+	$(RM) $(TARGET) $(TARGET_CFG)
 
-install: $(testbindir) $(testbindir)/verified $(TARGET)
-	install test.config header_1.fits header_2.fits $(TARGET) $(testbindir)
+install: $(testbindir) $(testbindir)/verified $(TARGET) $(TARGET_CFG)
+	install header_1.fits header_2.fits $(TARGET) $(testbindir)
 	install verified/*.stderr verified/*.stdout $(testbindir)/verified
-	install test.ser7.dat test.psTime.config1 test.psTime.config2 test.psTime.config3 test.psTime.config4 $(testbindir)
+	install test.config test.ser7.dat $(TARGET_CFG) $(testbindir)
 
 $(testbindir):
