10
0
mirror of https://gitlab.com/scemama/EZFIO.git synced 2024-12-22 04:13:34 +01:00

Forgot config files

This commit is contained in:
Anthony Scemama 2015-06-03 14:34:41 +02:00
parent 57b63c1306
commit b188cb3b54

View File

@ -14,7 +14,7 @@ d_default = {
"AR" : 'ar',
"NINJA" : 'ninja',
"CONFIG_FILES" :
' '.join([ x for x in os.listdir('config') if x != '.empty'])
' '.join([ os.path.join("config",x) for x in os.listdir('config') if x != '.empty'])
}
def create_make_config():
@ -39,6 +39,8 @@ def read_make_config():
for line in f.readlines():
try:
key, value = line.strip().split('=',1)
if value.startswith('"') and value.endswith('"'):
value = value[1:-1]
except:
print "Error in make.config:"
print line
@ -107,9 +109,9 @@ rule build_ocaml
description = Building Ocaml module
build make.config: build_make_config | configure.py
build make.config: build_make_config | configure.py
build {irpf90_files}: compile_irpf90 | {irpf90_sources}
build {irpf90_files}: compile_irpf90 | {irpf90_sources} {CONFIG_FILES}
build src/IRPF90_temp/irpf90.a: build_irpf90_a | {irpf90_files}