src/utils/bigWigToBedGraph/makefile 1.4

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