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