Index: trunk/stac/src/Makefile
===================================================================
--- trunk/stac/src/Makefile	(revision 2764)
+++ trunk/stac/src/Makefile	(revision 2897)
@@ -5,8 +5,8 @@
 LDFLAGS += $(PSLIB)
 
-OBJECTS = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
-	stacCombine.o stacInvertMaps.o stacRejection.o psPlaneTransform.o stacAreaOfInterest.o
+STAC = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o \
+	stacCombine.o stacInvertMaps.o stacRejection.o psPlaneTransform.o stacAreaOfInterest.o stacSize.o
 
-TARGET = stac
+FITTRANS = fitTrans.o fitTransConfig.o fitTransRead.o stacCheckMemory.o fitTransSolve.o psPlaneTransform.o
 
 .PHONY: tags clean empty test profile optimise
@@ -15,6 +15,6 @@
 		$(CC) -c $(CFLAGS) $(OPTFLAGS) $<
 
-$(TARGET):	$(OBJECTS)
-		$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS) $(OPTFLAGS)
+stac:		$(STAC)
+		$(CC) $(CFLAGS) -o $@ $(STAC) $(LDFLAGS) $(OPTFLAGS)
 
 calcGrad:	calcGrad.o
@@ -27,4 +27,6 @@
 		$(CC) $(CFLAGS) -o $@ getPixels.o $(LDFLAGS) $(OPTFLAGS)
 
+fitTrans:	$(FITTRANS)
+		$(CC) $(CFLAGS) -o $@ $(FITTRANS) $(LDFLAGS) $(OPTFLAGS)
 
 clean:
