7741801d6cb7872801c3066068287e3e99040ebc
hiram
  Mon Aug 16 15:55:32 2010 -0700
fixup test target to use compile and to clean up after test
diff --git src/hg/pslPartition/makefile src/hg/pslPartition/makefile
index 0a11eae..69c0fba 100644
--- src/hg/pslPartition/makefile
+++ src/hg/pslPartition/makefile
@@ -1,22 +1,22 @@
 include ../../inc/common.mk
 
 L += -lm
 MYLIBDIR = ../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkweb.a
 
 A = pslPartition
 O = pslPartition.o
 
 $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}
 
 test: compile
 	(cd tests && ${MAKE} test)
-	rm -f ${A}${EXE}
+	rm -fr tests/output ${A}${EXE}
 
 clean::
 	rm -f pslPartition ${O}