Index: trunk/stac/src/Makefile
===================================================================
--- trunk/stac/src/Makefile	(revision 3610)
+++ trunk/stac/src/Makefile	(revision 3660)
@@ -6,15 +6,11 @@
 
 STAC = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
-	stacCombine.o stacInvertMaps.o stacRejection.o stacAreaOfInterest.o stacSize.o stacScales.o
+	stacCombine.o stacInvertMaps.o stacRejection.o stacAreaOfInterest.o stacSize.o stacScales.o \
+	stacHelp.o
 
-SHIFT = shift.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
+SHIFT = shift.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
 	stacCombine.o stacInvertMaps.o stacSize.o
 
-FITTRANS = fitTrans.o fitTransConfig.o fitTransRead.o stacCheckMemory.o fitTransSolve.o
-
-TEST_SHIFT = testShift.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
-	stacInvertMaps.o
-
-PHOTSCALE = photScale.o
+SHIFTSIZE = shiftSize.o shiftSizeHelp.o stacWrite.o stacConfig.o stacRead.o stacCheckMemory.o stacSize.o
 
 .PHONY: tags clean empty test profile optimise
@@ -29,21 +25,6 @@
 		$(CC) $(CFLAGS) -o $@ $(SHIFT) $(LDFLAGS) $(OPTFLAGS)
 
-photScale:	$(PHOTSCALE)
-		$(CC) $(CFLAGS) -o $@ $(PHOTSCALE) $(LDFLAGS) $(OPTFLAGS)
-
-calcGrad:	calcGrad.o
-		$(CC) $(CFLAGS) -o $@ calcGrad.o $(LDFLAGS) $(OPTFLAGS)
-
-median:		median.o
-		$(CC) $(CFLAGS) -o $@ median.o $(LDFLAGS) $(OPTFLAGS)
-
-getPixels:	getPixels.o
-		$(CC) $(CFLAGS) -o $@ getPixels.o $(LDFLAGS) $(OPTFLAGS)
-
-fitTrans:	$(FITTRANS)
-		$(CC) $(CFLAGS) -o $@ $(FITTRANS) $(LDFLAGS) $(OPTFLAGS)
-
-testShift:	$(TEST_SHIFT)
-		$(CC) $(CFLAGS) -o $@ $(TEST_SHIFT) $(LDFLAGS) $(OPTFLAGS)
+shiftSize:	$(SHIFTSIZE)
+		$(CC) $(CFLAGS) -o $@ $(SHIFTSIZE) $(LDFLAGS) $(OPTFLAGS)
 
 clean:
@@ -66,5 +47,4 @@
 		-$(RM) test_[0-3].fits.rejmap
 		-$(RM) leaks.dat
-#		./stac -v -k 2.5 -f 0.5 -G 0.96 testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
 		./stac -v testout.fits test_0.fits test_1.fits test_2.fits test_3.fits
 
