232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/genePredSingleCover/makefile src/hg/genePredSingleCover/makefile
index 580da43..4f785e3 100644
--- src/hg/genePredSingleCover/makefile
+++ src/hg/genePredSingleCover/makefile
@@ -1,28 +1,14 @@
-include ../../inc/common.mk
-HG_WARN = ${HG_WARN_ERR}
-
-MYLIBDIR = ../../lib/${MACHTYPE}
-L += ${MYSQLLIBS} -lm
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = genePredSingleCover
-O = geneScore.o genePredSingleCover.o
-
-genePredSingleCover: $O ${MYLIBS}
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
-
-geneScore.o: geneScore.c geneScore.h
-genePredSingleCover.o: genePredSingleCover.c geneScore.h
-
-compile: ${O}
-	${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} $L
+extraObjects = geneScore.o
+include $(kentSrc)/inc/userApp.mk
 
-test: compile
-	(cd tests && ${MAKE} test)
-	rm -fr tests/output ${A}${EXE} *.o
+test:
+	cd tests && ${MAKE} test
+	rm -fr tests/output
 
 savebak:
 	savebak genePredSingleCover  *.[ch] makefile tests/makefile tests/input
 
-clean:
-	rm -fr tests/output ${A}${EXE} *.o
+clean::
+	rm -fr tests/output