mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
allow compilation Intel+CUDA, adding LDFLAGS_C for .cu files
svn-origin-rev: 18365
This commit is contained in:
parent
0c226409cd
commit
78df4409b1
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ def main():
|
|||
deps = collect_pkg_deps(packages, p)
|
||||
makefile += " ".join(["$(LIBDIR)/"+a+archive_ext for a in deps]) + "\n"
|
||||
makefile += "\t" + "$(LD) $(LDFLAGS)"
|
||||
if(fn.endswith(".c")):
|
||||
if(fn.endswith(".c") or fn.endswith(".cu")):
|
||||
makefile += " $(LDFLAGS_C)"
|
||||
makefile += " -L$(LIBDIR) -o $@ %s.o "%bfn
|
||||
makefile += "$(EXTERNAL_OBJECTS) "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue