Index: trunk/Ohana/src/libautocode/Makefile
===================================================================
--- trunk/Ohana/src/libautocode/Makefile	(revision 4019)
+++ trunk/Ohana/src/libautocode/Makefile	(revision 4023)
@@ -21,12 +21,12 @@
 LFLAGS	=	$(LIBS)
 
-install: $(DESTINC)/autocode.h $(DESTLIB)/libautocode.a
-	@echo done install
-
-autocode: $(INC)/autocode.h $(LIB)/libautocode.$(ARCH).a 
-	@echo done autocode
-
 # remember to add entries here to libohana/Makefile:AOBJ as well
 LIBOBJ = \
+$(SRC)/coords.$(ARCH).o \
+$(SRC)/average.$(ARCH).o \
+$(SRC)/secfilt.$(ARCH).o \
+$(SRC)/measure.$(ARCH).o \
+$(SRC)/missing.$(ARCH).o \
+$(SRC)/photcode.$(ARCH).o \
 $(SRC)/image.$(ARCH).o \
 $(SRC)/regimage.$(ARCH).o \
@@ -39,4 +39,10 @@
 
 LIBINC = \
+$(INC)/coords.h \
+$(INC)/average.h \
+$(INC)/secfilt.h \
+$(INC)/measure.h \
+$(INC)/missing.h \
+$(INC)/photcode.h \
 $(INC)/image.h \
 $(INC)/regimage.h \
@@ -47,4 +53,12 @@
 $(INC)/spectrum.h \
 $(INC)/spectrum-ascii.h
+
+objects: $(LIBOBJ)
+
+install: $(DESTINC)/autocode.h $(DESTLIB)/libautocode.a
+	@echo done install
+
+autocode: $(INC)/autocode.h $(LIB)/libautocode.$(ARCH).a 
+	@echo done autocode
 
 $(LIBOBJ): $(INC)/autocode.h
@@ -89,8 +103,4 @@
 	@echo done with $*.o
 
-%.$(ARCH).o: %.c
-	$(CC) $(CFLAGS) -c $*.c -o $@
-	@echo done with $*.o
-
 clean:	
 	rm -f `find . -name "*.o"`
@@ -105,2 +115,3 @@
 .PRECIOUS: %.$(ARCH).o
 .PRECIOUS: $(BIN)/%.$(ARCH)
+.PRECIOUS: $(LIB)/%.$(ARCH).a
