Skip to content
Snippets Groups Projects
Commit 2ccba594 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Couple of fixes to 'plumed mklib'

parent cbf87ea9
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ fi
rm -f "$obj" "$lib"
$compile "$obj" "$file" && $link "$lib" "$obj"
eval "$compile" "$obj" "$file" && $link "$lib" "$obj"
......@@ -40,7 +40,7 @@ Makefile.conf.xxd: ../../Makefile.conf
# file to import compilation options inside a bash script
compile_options.sh:
@echo Building compile_options.sh, a sourceable bash script with some compilation options
@echo "compile='"$(CXX) -c -I'\$$PLUMED_ROOT'/src $(CPPFLAGS) $(CXXFLAGS) -o"'" > $@
@echo "compile='"$(CXX) -c -I'$$PLUMED_ROOT'/src $(CPPFLAGS) $(CXXFLAGS) -o"'" > $@
@echo "link='"$(LDSO) -o"'" >> $@
@echo "soext='"$(SOEXT)"'" >> $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment