232074610513870c470c1263d3c46ff9b4ac3450
hiram
  Tue Apr 2 17:22:55 2013 -0700
minimal makefiles now in place for kentUtils build refs #9104
diff --git src/hg/bedIntersect/makefile src/hg/bedIntersect/makefile
index 04321bb..2551c33 100644
--- src/hg/bedIntersect/makefile
+++ src/hg/bedIntersect/makefile
@@ -1,19 +1,9 @@
-include ../../inc/common.mk
-
-
-L += -lm
-MYLIBDIR = ../../lib/$(MACHTYPE)
-MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
-
-O = bedIntersect.o
-
-bedIntersect: $O $(MYLIBS)
-	${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/bedIntersect $O $(MYLIBS) $L
-	${STRIP} ${BINDIR}/bedIntersect${EXE}
+kentSrc = ../..
+A = bedIntersect
+include $(kentSrc)/inc/userApp.mk
 
 test::
-	(cd tests && ${MAKE} test)
+	cd tests && ${MAKE} test
 
 clean::
-	rm -f ${O}
-	(cd tests && ${MAKE} clean)
+	cd tests && ${MAKE} clean