232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/bedItemOverlapCount/makefile src/hg/bedItemOverlapCount/makefile
index 5e0f691..67609b8 100644
--- src/hg/bedItemOverlapCount/makefile
+++ src/hg/bedItemOverlapCount/makefile
@@ -1,25 +1,9 @@
-include ../../inc/common.mk
-
-L += -lm ${MYSQLLIBS}
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = bedItemOverlapCount
-O = bedItemOverlapCount.o
-
-${A}: ${O} ${MYLIBS}
-	@${MKDIR} "${DESTDIR}${BINDIR}"
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A} $O ${MYLIBS} $L
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
+include $(kentSrc)/inc/userApp.mk
 
-test:	${A}
+test:
 	cd tests && ./RunTest.sh
 
-testVerbose:	${A}
+testVerbose:
 	cd tests && ./RunTest.sh -verbose
-
-compile: ${O}
-	${CC} ${COPT} ${CFLAGS} -o ${A} $O ${MYLIBS} $L
-
-clean::
-	rm -f ${O} ${A}