Index: src/hg/hgBatch/makefile
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgBatch/makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 1000000 -r1.9 -r1.10
--- src/hg/hgBatch/makefile	5 Nov 2004 23:58:44 -0000	1.9
+++ src/hg/hgBatch/makefile	10 Mar 2009 00:33:57 -0000	1.10
@@ -1,38 +1,38 @@
 include ../../inc/common.mk
 
 
-L = $(MYSQLLIBS) -lm
+L += $(MYSQLLIBS) -lm
 MYLIBDIR = ../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a
 
 O = hgBatch.o
 
 A = hgBatch
 
 my: compile
 	mv $A ${CGI_BIN}-${USER}/$A
 
 alpha: compile
 	mv $A ${CGI_BIN}/$A
 
 beta: compile
 	mv $A ${CGI_BIN}-beta/$A
 
 
 compile: $O $(MYLIBS)
 	${CC} ${COPT} ${CFLAGS} -o $A $O $(MYLIBS) $L
 	${STRIP} $A${EXE}
 	chmod a+rx $A
 
 install:	compile
 	@if [ ! -d "${DESTDIR}${CGI_BIN}" ]; then \
 		${MKDIR} "${DESTDIR}${CGI_BIN}"; \
 	fi
 	mv $A ${DESTDIR}${CGI_BIN}/$A
 
 lib:
 	cd ../lib && ${MAKE}
 	cd ../../lib && ${MAKE}
 
 tags: 
 	ctags *.h *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h

