Index: trunk/stac/src/Makefile
===================================================================
--- trunk/stac/src/Makefile	(revision 3669)
+++ trunk/stac/src/Makefile	(revision 3673)
@@ -5,13 +5,17 @@
 LDFLAGS += $(PSLIB)
 
-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 \
-	stacHelp.o
+STAC = stac.o stacConfig.o stacRead.o stacErrorImages.o stacTransform.o stacCheckMemory.o stacHelp.o \
+	stacCombine.o stacInvertMaps.o stacRejection.o stacAreaOfInterest.o stacSize.o stacScales.o time.o
 
 SHIFT = shift.o stacRead.o stacTransform.o stacCheckMemory.o stacInvertMaps.o stacSize.o
 
+COMBINE = combine.o combineConfig.o stacRead.o stacErrorImages.o stacCombine.o stacScales.o \
+	stacCheckMemory.o time.o
+
 SHIFTSIZE = shiftSize.o stacWrite.o stacConfig.o stacRead.o stacCheckMemory.o stacSize.o
 
-.PHONY: tags clean empty test profile optimise
+TARGETS = stac shift combine shiftSize
+
+.PHONY: tags clean empty test profile optimise all
 
 .c.o:
@@ -24,6 +28,11 @@
 		$(CC) $(CFLAGS) -o $@ $(SHIFT) $(LDFLAGS) $(OPTFLAGS)
 
+combine:	$(COMBINE)
+		$(CC) $(CFLAGS) -o $@ $(COMBINE) $(LDFLAGS) $(OPTFLAGS)
+
 shiftSize:	$(SHIFTSIZE)
 		$(CC) $(CFLAGS) -o $@ $(SHIFTSIZE) $(LDFLAGS) $(OPTFLAGS)
+
+all:		$(TARGETS)
 
 clean:
@@ -31,5 +40,5 @@
 
 empty:		clean
-		-$(RM) $(TARGET) TAGS
+		-$(RM) $(TARGETS) TAGS
 
 test:		stac test_0.fits test_1.fits test_2.fits test_3.fits
