src/hg/makeDb/hgGcPercent/makefile 1.9
1.9 2009/03/10 00:34:03 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/makeDb/hgGcPercent/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/makeDb/hgGcPercent/makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/hg/makeDb/hgGcPercent/makefile 19 Dec 2006 23:35:06 -0000 1.8
+++ src/hg/makeDb/hgGcPercent/makefile 10 Mar 2009 00:34:03 -0000 1.9
@@ -1,21 +1,21 @@
include ../../../inc/common.mk
-L = ${MYSQLLIBS} -lm
+L += ${MYSQLLIBS} -lm
MYLIBDIR = ../../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
O = hgGcPercent.o
hgGcPercent: $O ../../../lib/${MACHTYPE}/jkweb.a
${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/hgGcPercent \
$O ${MYLIBS} $L
${STRIP} ${BINDIR}/hgGcPercent${EXE}
compile: $O ../../../lib/${MACHTYPE}/jkweb.a
${CC} ${COPT} ${CFLAGS} -o hgGcPercent ${O} ${MYLIBS} $L
lib:
cd ../../../lib && ${MAKE}
clean:
rm -f ${O} hgGcPercent