src/hg/updateStsInfo/makefile 1.7
1.7 2009/03/10 00:34:38 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/updateStsInfo/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/updateStsInfo/makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 1000000 -r1.6 -r1.7
--- src/hg/updateStsInfo/makefile 19 Dec 2006 23:35:26 -0000 1.6
+++ src/hg/updateStsInfo/makefile 10 Mar 2009 00:34:38 -0000 1.7
@@ -1,30 +1,30 @@
include ../../inc/common.mk
-L = ${MYSQLLIBS} -lm
+L += ${MYSQLLIBS} -lm
MYLIBDIR = ../../lib/${MACHTYPE}
MYLIBS = ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
#COPT=-ggdb
A = updateStsInfo
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 updateStsInfo ${O}