src/hg/cgiExample/makefile 1.6

1.6 2009/03/10 00:33:45 galt
Modifications to make system to support optional external libraries, motivated by need for SSL
Index: src/hg/cgiExample/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/cgiExample/makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/hg/cgiExample/makefile	3 Jul 2005 19:52:03 -0000	1.5
+++ src/hg/cgiExample/makefile	10 Mar 2009 00:33:45 -0000	1.6
@@ -1,17 +1,17 @@
 include ../../inc/common.mk
 
 JKSRCDIR = /projects/compbiousr/kent/src
 JKLIBDIR = $(JKSRCDIR)/lib/$(MACHTYPE)
 
-L = $(MYSQLLIBS) -lm 
+L += $(MYSQLLIBS) -lm 
 MYLIBS =  $(JKLIBDIR)/jkhgap.a $(JKLIBDIR)/jkweb.a
 
 O = cgiExample.o
 
 cgiExample: $O 
 	${CC} ${COPT} ${CFLAGS} $O $(MYLIBS) $L
 	mv ${AOUT} cgiExample
 	${STRIP} cgiExample${EXE}
 	chmod a+rx cgiExample
 	mv cgiExample /usr/local/apache/cgi-bin