mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Add support for external objects (needed by PLUMED)
svn-origin-rev: 14269
This commit is contained in:
parent
f1330c49a7
commit
b68b3efdfb
1 changed files with 1 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue