20257ca76462642269e671000c2a4dad67f6b8ea
hiram
  Fri Mar 29 11:43:53 2013 -0700
testing new makefile organization refs #9104
diff --git src/utils/bedRemoveOverlap/makefile src/utils/bedRemoveOverlap/makefile
index 9fdbb5f..a95a45a 100644
--- src/utils/bedRemoveOverlap/makefile
+++ src/utils/bedRemoveOverlap/makefile
@@ -1,39 +1,24 @@
-include ../../inc/common.mk
-
-L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = bedRemoveOverlap
-O = bedRemoveOverlap.o
-
-bedRemoveOverlap: ${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
 
 test:
 	bedRemoveOverlap empty.bed empty.out
 	diff empty.out empty.expected
 	rm empty.out
 	bedRemoveOverlap one.bed one.out
 	diff one.out one.expected
 	rm one.out
 	bedRemoveOverlap test4.bed test4.out
 	diff test4.out test4.expected
 	rm test4.out
 	bedRemoveOverlap threeLast.bed threeLast.out
 	diff threeLast.out threeLast.expected
 	rm threeLast.out
 	bedRemoveOverlap twoFirst.bed twoFirst.out
 	diff twoFirst.out twoFirst.expected
 	rm twoFirst.out
 	bedRemoveOverlap twoSecond.bed twoSecond.out
 	diff twoSecond.out twoSecond.expected
 	rm twoSecond.out