src/hg/spideyToPsl/makefile 1.7
1.7 2009/03/10 00:34:34 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/spideyToPsl/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/spideyToPsl/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 1000000 -r1.6 -r1.7
--- src/hg/spideyToPsl/makefile 21 Feb 2008 02:13:24 -0000 1.6
+++ src/hg/spideyToPsl/makefile 10 Mar 2009 00:34:34 -0000 1.7
@@ -1,19 +1,19 @@
include ../../inc/common.mk
-L = -lm
+L += -lm
MYLIBDIR = ../../../src/lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
O = spideyToPsl.o
spideyToPsl: $O $(MYLIBS)
${CC} ${COPT} ${CFLAGS} -o spideyToPsl $O $(MYLIBS) $L
${MKDIR} ${BINDIR}
cp -f spideyToPsl ${BINDIR}
${STRIP} ${BINDIR}/spideyToPsl${EXE}
test::
cd tests && ${MAKE} test
clean::
rm -f ${O} spideyToPsl ${BINDIR}/spideyToPsl
cd tests && ${MAKE} clean