391f8a18b3796e2b03ed96d20b532ad238bc9dbb
hiram
  Tue Apr 2 13:43:00 2013 -0700
moving to minimal makefiles for kentUtils build refs #9104
diff --git src/utils/bedGeneParts/makefile src/utils/bedGeneParts/makefile
index 7e9d44e..0352339 100644
--- src/utils/bedGeneParts/makefile
+++ src/utils/bedGeneParts/makefile
@@ -1,28 +1,17 @@
-include ../../inc/common.mk
-
-L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = bedGeneParts
-O = bedGeneParts.o
-
-bedGeneParts: ${O} ${MYLIBS}
-	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} $L
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-compile:: ${O}
-	${CC} ${COPT} -o ${A}${EXE} ${O} ${MYLIBS} $L
-
-clean::
-	rm -f ${A}${EXE} ${O}
+include $(kentSrc)/inc/userApp.mk
+L += -lm
 
 test:
 	bedGeneParts firstExon test.in firstExon.out
 	diff firstExon.expected firstExon.out
 	bedGeneParts introns test.in introns.out
 	diff introns.expected introns.out
 	bedGeneParts promoter test.in promoter.out
 	diff promoter.expected promoter.out
 	bedGeneParts firstCodingSplice test.in firstCodingSplice.out
 	diff firstCodingSplice.expected firstCodingSplice.out
+
+clean::
+	rm -f firstExon.out introns.out promoter.out firstCodingSplice.out