]> git.donarmstrong.com Git - samtools.git/commitdiff
Pass LIBS to recursive targets to facilitate building at Broad.
authorOn behalf of Bob Handsaker <lh3@sanger.ac.uk>
Mon, 2 Feb 2009 15:52:52 +0000 (15:52 +0000)
committerOn behalf of Bob Handsaker <lh3@sanger.ac.uk>
Mon, 2 Feb 2009 15:52:52 +0000 (15:52 +0000)
Makefile

index 69ed702331f825cd17c6f8530de2a232d1abcf26..f74baa5f4b305c845d997d4b25f5e753731b8e87 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ all-recur lib-recur clean-recur cleanlocal-recur install-recur:
                list='$(SUBDIRS)'; for subdir in $$list; do \
                        cd $$subdir; \
                        $(MAKE) CC="$(CC)" CXX="$(CXX)" DFLAGS="$(DFLAGS)" CFLAGS="$(CFLAGS)" \
-                               INCLUDES="$(INCLUDES)" $$target || exit 1; \
+                               INCLUDES="$(INCLUDES)" LIBS="$(LIBS)" $$target || exit 1; \
                        cd $$wdir; \
                done;