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/dnaDust/makefile src/dnaDust/makefile
index c950dfe..7736ff5 100644
--- src/dnaDust/makefile
+++ src/dnaDust/makefile
@@ -1,19 +1,19 @@
 include ../inc/common.mk
 
 L += -lm $(MYSQLLIBS)
 MYLIBDIR = ../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkweb.a
 
 O = dnadust.o 
 
 dnadust.exe: $(O)
-	${CC} ${COPT} ${CFLAGS} $O ../lib/$(MACHTYPE)/jkweb.a
+	${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L}
 	mv ${AOUT} dnadust.exe
 	chmod a+rx dnadust.exe
 
 push:
 	mv dnadust.exe ${CGI_BIN}-${USER}
 
 
 clean::
 	rm -f ${O} dnadust.exe ${AOUT}