Index: src/hg/blastToPsl/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/blastToPsl/makefile,v
retrieving revision 1.25
retrieving revision 1.26
diff -b -B -U 1000000 -r1.25 -r1.26
--- src/hg/blastToPsl/makefile	8 Feb 2010 03:14:55 -0000	1.25
+++ src/hg/blastToPsl/makefile	8 Feb 2010 16:57:21 -0000	1.26
@@ -1,26 +1,28 @@
 include ../../inc/common.mk
 
 L += $(MYSQLLIBS) -lm
 MYLIBDIR = ../../../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 blastToPsl_objs = blastToPsl.o pslBuild.o
 blastXmlToPsl_objs = blastXmlToPsl.o ncbiBlast.o pslBuild.o
 
-all: ${BINDIR}/blastToPsl ${BINDIR}/blastXmlToPsl
+all: blastToPsl.build blastXmlToPsl.build
 
-${BINDIR}/%: %.o ${MYLIBS}
+compile: all
+
+%.build: %.o ${MYLIBS}
 	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/$*${EXE} ${$*_objs} ${MYLIBS} $L
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+	${STRIP} ${DESTDIR}${BINDIR}/$*${EXE}
 
 test::
 	(cd tests && ${MAKE} test)
 
 clean::
 	rm -f ${blastToPsl_objs} ${blastXmlToPsl_objs}
 
 ncbiBlast.o: ncbiBlast.c ncbiBlast.h
 pslBuild.o: pslBuild.c pslBuild.h
 blastXmlToPsl.o: blastXmlToPsl.c ncbiBlast.h pslBuild.h
 ${BINDIR}/blastXmlToPsl: ${blastXmlToPsl_objs}
 ${BINDIR}/blastToPsl: ${blastToPsl_objs}

