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/hg/nci60/makefile src/hg/nci60/makefile
index 44efb7b..cce974d 100644
--- src/hg/nci60/makefile
+++ src/hg/nci60/makefile
@@ -1,19 +1,19 @@
include ../../inc/common.mk
L += -lm $(MYSQLLIBS)
MYLIBDIR = ../../lib/$(MACHTYPE)
MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a $(L)
O = findStanAlignments stanToBedAndExpRecs
%: %.c
- ${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc -o ${DESTDIR}${BINDIR}/$@ $(addsuffix .c,$@) $(MYLIBS)
+ ${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I../../inc -o ${DESTDIR}${BINDIR}/$@ $(addsuffix .c,$@) $(MYLIBS) ${L}
${STRIP} ${DESTDIR}${BINDIR}/$@
all: $(O)
#$(O): %: %.c ../lib/$(ARCHTYPE)/libsugnet.a
# ${CC} ${COPT} ${CFLAGS} -Wimplicit -I../inc -I$(KENT_DIR)/inc -I$(KENT_DIR)/hg/inc -o $@ $(addsuffix .c,$@) $(SUGNET_LIBS) $(KENT_LIBS)
clean::
rm -fr ${O} ${ARCHTYPE}