src/utils/textHistogram/makefile 1.14

1.14 2009/03/27 06:25:18 hiram
fixup use of -lm on lib dependency
Index: src/utils/textHistogram/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/textHistogram/makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 1000000 -r1.13 -r1.14
--- src/utils/textHistogram/makefile	26 Mar 2009 20:18:41 -0000	1.13
+++ src/utils/textHistogram/makefile	27 Mar 2009 06:25:18 -0000	1.14
@@ -1,16 +1,16 @@
 include ../../inc/common.mk
 
 L += -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkweb.a ${L}
+MYLIBS =  ${MYLIBDIR}/jkweb.a
 
 A = textHistogram
 O = textHistogram.o
 
 textHistogram: $O ${MYLIBS}
 	@${MKDIR} "${DESTDIR}${BINDIR}"
-	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS}
+	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L}
 	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
 
 clean::
 	rm -f ${O}