232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/genePredHisto/makefile src/hg/genePredHisto/makefile
index 7142451..8202d25 100644
--- src/hg/genePredHisto/makefile
+++ src/hg/genePredHisto/makefile
@@ -1,21 +1,10 @@
-include ../../inc/common.mk
-HG_WARN = ${HG_WARN_ERR}
-
-MYLIBDIR = ../../lib/${MACHTYPE}
-L += ${MYSQLLIBS} -lm
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = genePredHisto
-O = ${A}.o
-
-${DESTDIR}${BINDIR}/${A}${EXE}: $O ${MYLIBS}
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
-
-compile: ${DESTDIR}${BINDIR}/${A}${EXE}
+include $(kentSrc)/inc/userApp.mk
 
-test: compile
-	(cd tests && ${MAKE} test)
-	rm -fr tests/output ${A}${EXE} ${A}.o
+test:
+	cd tests && ${MAKE} test
+	rm -fr tests/output
 
 clean::
-	rm -fr tests/output ${A}${EXE} ${A}.o
+	rm -fr tests/output