d129faab8e053475e838eeef9bfd73b62f1e496e
hiram
  Wed Jan 26 09:54:22 2011 -0800
remove garbage after successful make to keep git status clean
diff --git src/hg/test/makefile src/hg/test/makefile
index 10d84e6..fa7ed21 100644
--- src/hg/test/makefile
+++ src/hg/test/makefile
@@ -1,17 +1,23 @@
 include ../../inc/common.mk
 
 
 L += ${MYSQLLIBS} -lm 
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 O = test.o
 
 test: lib ${O}
 	${CC} ${COPT} -o test $O ${MYLIBS} $L
+	@./test
+	@rm -f test
+
+compile: lib ${O}
+	${CC} ${COPT} -o test $O ${MYLIBS} $L
+	@./test
 
 lib:
 	cd ../../lib && ${MAKE}
 
 clean::
 	rm -f test ${O}