src/hg/fishClones/makefile 1.8
1.8 2009/03/10 00:33:48 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/fishClones/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/fishClones/makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 1000000 -r1.7 -r1.8
--- src/hg/fishClones/makefile 19 Dec 2006 23:34:58 -0000 1.7
+++ src/hg/fishClones/makefile 10 Mar 2009 00:33:48 -0000 1.8
@@ -1,29 +1,29 @@
include ../../inc/common.mk
-L = ${MYSQLLIBS} -lm
+L += ${MYSQLLIBS} -lm
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
A = fishClones
O = $A.o
compile: $O
${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L}
mv ${AOUT} $A${EXE}
${STRIP} $A${EXE}
chmod a+rx $A
cp $A ${BINDIR}
debug: $O
${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L}
mv ${AOUT} $A${EXE}
lib:
cd ../../lib && ${MAKE}
tags:
ctags *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h
clean::
rm -f fishClones ${O}