src/hg/phyloGif/makefile 1.12

1.12 2009/03/10 00:34:25 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/phyloGif/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/phyloGif/makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -b -B -U 1000000 -r1.11 -r1.12
--- src/hg/phyloGif/makefile	18 Nov 2008 21:26:18 -0000	1.11
+++ src/hg/phyloGif/makefile	10 Mar 2009 00:34:25 -0000	1.12
@@ -1,33 +1,33 @@
 include ../../inc/common.mk
 
-L = $(MYSQLLIBS) -lm
+L += $(MYSQLLIBS) -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
 
 A = phyloGif
 
 O = ${A}.o
 
 include ../../inc/cgi_build_rules.mk
 
 my:: compile
 	if [ -d "${BINDIR}" ]; then \
 	    cp ${CGI_BIN}-${USER}/$A ${BINDIR}/; \
 	fi
 
 compile: $O
 	${CC} $O ${MYLIBS} ${L}
 	mv ${AOUT} $A${EXE}
 	chmod a+rx $A${EXE}
 
 test: compile
 	${BINDIR}/phyloGif -phyloGif_tree=17way.nh > test.gif
 	file test.gif
 
 testWeb: compile
 	wget -O testWeb.gif 'http://hgwdev.cse.ucsc.edu/cgi-bin/phyloGif?phyloGif_tree=(A:0.1,B:0.1);'
 	file testWeb.gif
 
 clean::
 	rm -f test.gif testWeb.gif