Index: trunk/Ohana/src/imregister/Makefile
===================================================================
--- trunk/Ohana/src/imregister/Makefile	(revision 3650)
+++ trunk/Ohana/src/imregister/Makefile	(revision 4024)
@@ -17,4 +17,5 @@
 PHOTREG =	$(HOME)/photreg
 IMREG   =	$(HOME)/imreg
+IMPHOT  =	$(HOME)/imphot
 SPREG   =	$(HOME)/spreg
 
@@ -33,11 +34,18 @@
 photsearch   photreg      \
 cameraconfig filtnames    \
-imphotsearch imphotmerge  \
-imphotset	          
-
-# spregister   spsearch
+imphotsearch 
 
 # program under development, not installed
-DEVEL = spregister spsearch
+DEVEL = spregister spsearch imphotmerge
+
+IMPHOTOBJ = \
+$(IMPHOT)/args.$(ARCH).o \
+$(IMPHOT)/db_load.$(ARCH).o \
+$(IMPHOT)/dumpfits.$(ARCH).o \
+$(IMPHOT)/modify.$(ARCH).o \
+$(IMPHOT)/output.$(ARCH).o \
+$(IMPHOT)/rfits.$(ARCH).o \
+$(IMPHOT)/rtext.$(ARCH).o \
+$(IMPHOT)/subset.$(ARCH).o
 
 IMOBJ  = \
@@ -116,4 +124,5 @@
 SR = $(SPREG)/args.spregister.$(ARCH).o    $(SPOBJ)   $(BASEOBJ)
 SS = $(SPREG)/args.spsearch.$(ARCH).o      $(SPOBJ)   $(BASEOBJ)
+IP = $(IMPHOTOBJ) $(BASEOBJ)
 
 $(SR) : $(INC)/spreg.h $(INC)/imregister.h
@@ -136,4 +145,6 @@
 $(BIN)/spsearch.$(ARCH)     : $(SRC)/spsearch.$(ARCH).o     $(SS) ; $(CC) $^ -o $@ $(LFLAGS)
 $(BIN)/spregister.$(ARCH)   : $(SRC)/spregister.$(ARCH).o   $(SR) ; $(CC) $^ -o $@ $(LFLAGS)
+
+$(BIN)/imphotsearch.$(ARCH) : $(SRC)/imphotsearch.$(ARCH).o $(IP) ; $(CC) $^ -o $@ $(LFLAGS)
 
 # dependancy rules for binary code #########################
