src/hg/randomPlacement/makefile 1.5
1.5 2009/03/10 00:34:30 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/randomPlacement/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/randomPlacement/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 1000000 -r1.4 -r1.5
--- src/hg/randomPlacement/makefile 21 Feb 2008 02:13:24 -0000 1.4
+++ src/hg/randomPlacement/makefile 10 Mar 2009 00:34:30 -0000 1.5
@@ -1,21 +1,21 @@
include ../../inc/common.mk
-L = -lm ${MYSQLLIBS}
+L += -lm ${MYSQLLIBS}
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
A = randomPlacement
O = randomPlacement.o
${A}: ${O} $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/${A}${EXE} \
$O ${MYLIBS} ${L}
${STRIP} ${BINDIR}/${A}${EXE}
compile: $O
${CC} -g $O ${MYLIBS} ${L}
mv ${AOUT} $A${EXE}
clean::
rm -f ${O} ${A}${EXE} ${AOUT}