20257ca76462642269e671000c2a4dad67f6b8ea
hiram
  Fri Mar 29 11:43:53 2013 -0700
testing new makefile organization refs #9104
diff --git src/utils/bestThreshold/makefile src/utils/bestThreshold/makefile
index fea0dd3..a6c954a 100644
--- src/utils/bestThreshold/makefile
+++ src/utils/bestThreshold/makefile
@@ -1,27 +1,3 @@
-include ../../inc/common.mk
-
-L += -lm
-MYLIBDIR = ../../lib/$(MACHTYPE)
-MYLIBS =  $(MYLIBDIR)/jkweb.a
-
-O = bestThreshold.o
+kentSrc = ../..
 A = bestThreshold
-
-${A}: ${O}
-	${CC} ${COPT} -o ${DESTDIR}${BINDIR}/${A} $O ${MYLIBS} ${L}
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-compile:: ${O} ${MYLIBS}
-	${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} ${L}
-
-install:: compile
-	rm -f ${DESTDIR}${BINDIR}/${A}${EXE}
-	cp -p ${A}${EXE} ${DESTDIR}${BINDIR}/${A}${EXE}
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-test: compile
-	./${A}${EXE} in.good in.bad > out
-	diff expected out
-
-clean::
-	rm -f ${O} ${A}${EXE} out
+include $(kentSrc)/inc/userApp.mk