src/hg/pslHisto/makefile 1.7

1.7 2009/03/10 00:34:28 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/pslHisto/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/pslHisto/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 1000000 -r1.6 -r1.7
--- src/hg/pslHisto/makefile	21 Feb 2008 02:13:23 -0000	1.6
+++ src/hg/pslHisto/makefile	10 Mar 2009 00:34:28 -0000	1.7
@@ -1,20 +1,20 @@
 include ../../inc/common.mk
 
-L = -lm
+L += -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 O = pslHisto.o
 
 ${BINDIR}/pslHisto: $O ${MYLIBS}
 	@${MKDIR} ${BINDIR}
 	${CC} ${COPT} ${CFLAGS} -o $@ $O ${MYLIBS} ${MYSQLLIBS} $L
 
 pslHisto.o: pslHisto.c $H
 
 test:
 	cd tests && ${MAKE} test
 
 clean:
 	rm -f $O $B pslHisto
 	cd tests && ${MAKE} clean