391f8a18b3796e2b03ed96d20b532ad238bc9dbb
hiram
  Tue Apr 2 13:43:00 2013 -0700
moving to minimal makefiles for kentUtils build refs #9104
diff --git src/utils/textHistogram/makefile src/utils/textHistogram/makefile
index 323d507..d58ac87 100644
--- src/utils/textHistogram/makefile
+++ src/utils/textHistogram/makefile
@@ -1,16 +1,4 @@
-include ../../inc/common.mk
-
-L += -lm
-MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS = ${MYLIBDIR}/jkweb.a
-
+kentSrc = ../..
 A = textHistogram
-O = textHistogram.o
-
-textHistogram: $O ${MYLIBS}
-	@${MKDIR} "${DESTDIR}${BINDIR}"
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L}
-	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
-
-clean::
-	rm -f ${O}
+include $(kentSrc)/inc/userApp.mk
+L += -lm