src/hg/orthoMap/makefile 1.9
1.9 2009/03/10 00:34:25 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/orthoMap/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/orthoMap/makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/hg/orthoMap/makefile 6 Nov 2007 19:39:28 -0000 1.8
+++ src/hg/orthoMap/makefile 10 Mar 2009 00:34:25 -0000 1.9
@@ -1,26 +1,26 @@
include ../../inc/common.mk
-L = $(MYSQLLIBS) -lm
+L += $(MYSQLLIBS) -lm
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
E = mgcFastaForBed agxToIntronBeds bedToFrames orthoMap orthoEvaluate orthoPickIntron # spliceStats spliceVis
O = orthoEval.o
${BINDIR}/%: %.c $(O)
$(CC) $(COPTS) -I../inc -I../../inc -o $@ $< $(O) $(MYLIBS) $(MYSQLLIBS) -lm -lz
%Test: %Test.c
${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc -o $@ $(addsuffix .c,$@) $(MYLIBS) $(L)
compile: $(E:%=${BINDIR}/%)
test: $(TESTS)
lib:
cd ../../lib && ${MAKE}
clean::
rm -f ${E} *.o