src/hg/hgGetAnn/makefile 1.5

1.5 2009/03/10 00:33:58 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/hgGetAnn/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGetAnn/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 1000000 -r1.4 -r1.5
--- src/hg/hgGetAnn/makefile	19 Dec 2006 23:35:03 -0000	1.4
+++ src/hg/hgGetAnn/makefile	10 Mar 2009 00:33:58 -0000	1.5
@@ -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 = hgGetAnn
 
 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