f56903393fa2ff726fab62f97fe8cd10b302fdff
angie
  Fri Feb 25 11:26:56 2011 -0800
Feature #2820 (tabix: add as optional linked library in kent/src):Wow, adding an external lib dependency to linefile exposed the fact
that many makefiles did not include ${L} properly.

diff --git src/webBlat/makefile src/webBlat/makefile
index 096e9ef..6956ad5 100644
--- src/webBlat/makefile
+++ src/webBlat/makefile
@@ -1,27 +1,27 @@
 include ../inc/common.mk
 
 L += -lm $(SOCKETLIB)
 MYLIBDIR = ../lib/${MACHTYPE}
 MYLIBS =  ${MYLIBDIR}/jkOwnLib.a ${MYLIBDIR}/jkweb.a
 
 O = webBlat.o
 
 webBlat: $O ${MYLIBS}
-	${CC} ${COPT} -o webBlat $O ${MYLIBS} $L
+	${CC} ${COPT} -o webBlat $O ${MYLIBS} ${L}
 	${STRIP} webBlat${EXE}
 
 installOsX: webBlat
 	cp webBlat /Library/WebServer/CGI-Executables
 	cp webBlat.cfg /Library/WebServer/CGI-Executables
 
 installUcsc: webBlat
 	cp webBlat /usr/local/apache/cgi-bin-$(USER)
 	cp webBlat.cfg /usr/local/apache/cgi-bin-$(USER)
 
 installAlpha: webBlat
 	cp webBlat /usr/local/apache/cgi-bin
 	cp webBlat.cfg /usr/local/apache/cgi-bin
 
 clean:
 	rm -f $O webBlat