src/utils/twoBitInfo/makefile 1.6

1.6 2009/03/10 00:34:50 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/utils/twoBitInfo/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/twoBitInfo/makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/utils/twoBitInfo/makefile	19 Dec 2006 23:35:37 -0000	1.5
+++ src/utils/twoBitInfo/makefile	10 Mar 2009 00:34:50 -0000	1.6
@@ -1,27 +1,27 @@
 include ../../inc/common.mk
 
-L = -lm
+L += -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkweb.a
 
 O = twoBitInfo.o
 
 twoBitInfo: $O ${MYLIBS}
 	${CC} ${COPT} -o ${BINDIR}/twoBitInfo $O ${MYLIBS} $L
 	${STRIP} ${BINDIR}/twoBitInfo${EXE}
 
 clean:
 	rm -f $O
 
 # reuse twoFitToFa input files. for tests
 TEST_IN = ../twoBitToFa/tests/input
 
 test:
 	${MKDIR} tests/output
 	twoBitInfo ${TEST_IN}/testN.2bit tests/output/testN.info
 	twoBitInfo ${TEST_IN}/testMask.2bit tests/output/testMask.info
 	twoBitInfo ${TEST_IN}/testMask.2bit:manyLower tests/output/ml.info
 	twoBitInfo ${TEST_IN}/testMask.2bit:manyLower:2-10 tests/output/ml_sub.info
 	twoBitInfo ${TEST_IN}/testMask.2bit:noLower,startLower tests/output/ml_multiple.info
 	diff -r -x CVS tests/expected tests/output
 	rm -r tests/output