src/hg/liftOver/makefile 1.11
1.11 2009/03/10 00:34:02 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/liftOver/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/liftOver/makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 1000000 -r1.10 -r1.11
--- src/hg/liftOver/makefile 19 Dec 2006 23:35:05 -0000 1.10
+++ src/hg/liftOver/makefile 10 Mar 2009 00:34:02 -0000 1.11
@@ -1,19 +1,19 @@
include ../../inc/common.mk
-L = $(MYSQLLIBS) -lm
+L += $(MYSQLLIBS) -lm
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
O = liftOver.o
all: liftOver liftOverMerge
liftOver: $O $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/liftOver $O $(MYLIBS) $L
liftOverMerge: liftOverMerge.o $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/liftOverMerge liftOverMerge.o $(MYLIBS) $L
test::
cd tests && ${MAKE} test