From b68b3efdfb6613fbe4d865e47664a0b08824ec93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Sch=C3=BCtt?= Date: Tue, 16 Sep 2014 08:53:50 +0000 Subject: [PATCH] Add support for external objects (needed by PLUMED) svn-origin-rev: 14269 --- tools/build_utils/makedep.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/build_utils/makedep.py b/tools/build_utils/makedep.py index 60a979f1b7..31b043d4ca 100755 --- a/tools/build_utils/makedep.py +++ b/tools/build_utils/makedep.py @@ -107,6 +107,7 @@ def main(): deps = collect_pkg_deps(packages, p) makefile += " ".join(["$(LIBDIR)/"+a+archive_ext for a in deps]) + "\n" makefile += "\t" + "$(LD) $(LDFLAGS) -L$(LIBDIR) -o $@ %s.o "%bfn + makefile += "$(EXTERNAL_OBJECTS) " assert(all([a.startswith("lib") for a in deps])) makefile += " ".join(["-l"+a[3:]+archive_postfix for a in deps]) makefile += " $(LIBS)\n\n"