b0b51e8cb7f7549ba9889231a4a5e2765c77d696
hiram
  Fri Aug 13 12:01:23 2010 -0700
fixing test target in fixed makefiles
diff --git src/hg/pslDiff/makefile src/hg/pslDiff/makefile
index 75f9f05..48e94ed 100644
--- src/hg/pslDiff/makefile
+++ src/hg/pslDiff/makefile
@@ -1,29 +1,30 @@
 include ../../inc/common.mk
 
 L += -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a ${MYSQLLIBS}
 
 
 O = pslSets.o pslDiff.o
 # pslDiff.o
 A =  pslDiff
 
 $A: $O ${MYLIBS}
 	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L}
 	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
 
 compile:: ${O}
 	${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} ${L}
 
 pslDiff.o: pslDiff.c pslSets.h
 
-test:
+test: compile
 	cd tests && ${MAKE} test
+	rm -f ${A}${EXE}
 
 clean:
 	rm -f $O $B pslDiff
 	cd tests && ${MAKE} clean
 
 savebak:
 	savebak pslDiff makefile *.c