mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-12-22 12:23:34 +01:00
Forgot config files
This commit is contained in:
parent
57b63c1306
commit
b188cb3b54
@ -14,7 +14,7 @@ d_default = {
|
|||||||
"AR" : 'ar',
|
"AR" : 'ar',
|
||||||
"NINJA" : 'ninja',
|
"NINJA" : 'ninja',
|
||||||
"CONFIG_FILES" :
|
"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():
|
def create_make_config():
|
||||||
@ -39,6 +39,8 @@ def read_make_config():
|
|||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
try:
|
try:
|
||||||
key, value = line.strip().split('=',1)
|
key, value = line.strip().split('=',1)
|
||||||
|
if value.startswith('"') and value.endswith('"'):
|
||||||
|
value = value[1:-1]
|
||||||
except:
|
except:
|
||||||
print "Error in make.config:"
|
print "Error in make.config:"
|
||||||
print line
|
print line
|
||||||
@ -107,9 +109,9 @@ rule build_ocaml
|
|||||||
description = Building Ocaml module
|
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}
|
build src/IRPF90_temp/irpf90.a: build_irpf90_a | {irpf90_files}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user