src/hg/pslDiff/makefile 1.5
1.5 2009/03/10 00:34:28 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/pslDiff/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/pslDiff/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -B -U 1000000 -r1.4 -r1.5
--- src/hg/pslDiff/makefile 21 Feb 2008 02:13:23 -0000 1.4
+++ src/hg/pslDiff/makefile 10 Mar 2009 00:34:28 -0000 1.5
@@ -1,29 +1,29 @@
include ../../inc/common.mk
-L = -lm
+L += -lm
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
O = pslSets.o pslDiff.o
# pslDiff.o
B = ${BINDIR}/pslDiff
$B: pslDiff
@${MKDIR} `dirname $B`
cp -f pslDiff $B
pslDiff: $O ${MYLIBS}
${CC} ${COPT} ${CFLAGS} -o pslDiff $O ${MYLIBS} ${MYSQLLIBS} $L
pslDiff.o: pslDiff.c pslSets.h
test:
cd tests && ${MAKE} test
clean:
rm -f $O $B pslDiff
cd tests && ${MAKE} clean
savebak:
savebak pslDiff makefile *.c