src/hg/bedToGenePred/makefile 1.3

1.3 2009/03/10 00:33:44 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/bedToGenePred/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/bedToGenePred/makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 1000000 -r1.2 -r1.3
--- src/hg/bedToGenePred/makefile	19 Dec 2006 23:34:57 -0000	1.2
+++ src/hg/bedToGenePred/makefile	10 Mar 2009 00:33:44 -0000	1.3
@@ -1,28 +1,28 @@
 include ../../inc/common.mk
 
-L = $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS) -lm 
 MYLIBDIR = ../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkOwnLib.a $(MYLIBDIR)/jkweb.a
 
 A = bedToGenePred
 
 O = $A.o
 
 BIN = ${BINDIR}
 PROG = ${BIN}/$A
 
 ${PROG}: $O $(MYLIBS)
 	${CC} ${COPT} ${CFLAGS} -o ${PROG} $O $(MYLIBS) $L
 
 $O: makefile $A.c
 
 lib:
 	cd ../lib && ${MAKE}
 	cd ../../lib && ${MAKE}
 
 test::
 	cd tests && ${MAKE} test
 
 clean::
 	rm -f $O
 	cd tests && ${MAKE} clean