src/blat/makefile 1.34

1.34 2009/03/10 00:33:38 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/blat/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/blat/makefile,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -B -U 1000000 -r1.33 -r1.34
--- src/blat/makefile	19 Dec 2006 23:34:55 -0000	1.33
+++ src/blat/makefile	10 Mar 2009 00:33:38 -0000	1.34
@@ -1,34 +1,34 @@
 include ../inc/common.mk
 
-L = -lm $(SOCKETLIB)
+L += -lm $(SOCKETLIB)
 MYLIBDIR = ../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkOwnLib.a $(MYLIBDIR)/jkweb.a 
 
 O = blat.o
 
 blat: $O $(MYLIBS)
 	${CC} ${COPT} ${CFLAGS} -o ${BINDIR}/blat $O $(MYLIBS) $L
 	${STRIP} ${BINDIR}/blat${EXE}
 
 all:
 	cd ../lib && ${MAKE}
 	make
 tags:
 	ctags *.c *.h ../lib/*.c ../inc/*.h
 
 test::
 	blat -verbose=0 hCrea.geno hCrea.mrna testRna.psl
 	cmp testRna.psl refRna.psl
 	blat -verbose=0 -prot hCrea.pep mCrea.pep testProt.psl
 	cmp testProt.psl refProt.psl
 	blat -verbose=0 -t=dnax -q=prot hCrea.geno mCrea.pep testProtX.psl
 	cmp testProtX.psl refProtX.psl
 	blat -verbose=0 -t=dnax -q=rnax hCrea.geno mCrea.mrna testRnaX.psl
 	cmp testRnaX.psl refRnaX.psl
 	blat -verbose=0 -fine hCrea.geno hCrea.mrna testFine.psl
 	cmp testFine.psl refFine.psl
 	cd test && ${MAKE}
 
 clean::
 	rm -f testRna.psl testProt.psl testProtX.psl testRnaX.psl \
 	testFine.psl $(O) blat