src/hg/estOrient/makefile 1.4
1.4 2009/03/10 00:33:47 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/estOrient/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/estOrient/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/hg/estOrient/makefile 18 Mar 2007 19:05:56 -0000 1.3
+++ src/hg/estOrient/makefile 10 Mar 2009 00:33:47 -0000 1.4
@@ -1,27 +1,27 @@
include ../../inc/common.mk
HG_WARN = ${HG_WARN_ERR}
-L = -lm
+L += -lm
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
O = estOrient.o
B = ${BINDIR}/estOrient
$B: estOrient
@${MKDIR} `dirname $B`
cp -f estOrient $B
estOrient: $O ${MYLIBS}
${CC} ${COPT} ${CFLAGS} -o estOrient $O ${MYLIBS} ${MYSQLLIBS} $L
estOrient.o: estOrient.c $H
test:
cd tests && ${MAKE} test
clean:
rm -f $O $B estOrient
cd tests && ${MAKE} clean