mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-22 12:23:32 +01:00
Improved ninja
This commit is contained in:
parent
fd4f8ebe53
commit
59c1dc363a
@ -48,7 +48,7 @@ def create():
|
|||||||
t = """IRPF90 = irpf90 #-a -d
|
t = """IRPF90 = irpf90 #-a -d
|
||||||
NINJA = ninja
|
NINJA = ninja
|
||||||
FC = gfortran
|
FC = gfortran
|
||||||
FCFLAGS= -O2 -ffree-line-length-none
|
FCFLAGS= -O2 -ffree-line-length-none -I .
|
||||||
|
|
||||||
SRC=
|
SRC=
|
||||||
OBJ=
|
OBJ=
|
||||||
|
@ -212,13 +212,13 @@ def run():
|
|||||||
# Environment variables
|
# Environment variables
|
||||||
|
|
||||||
try: FC = os.environ["FC"]
|
try: FC = os.environ["FC"]
|
||||||
except KeyError: FC="gfortran -ffree-line-length-none"
|
except KeyError: FC="gfortran -ffree-line-length-none -I ."
|
||||||
|
|
||||||
try: CC = os.environ["CC"]
|
try: CC = os.environ["CC"]
|
||||||
except KeyError: CC="gcc"
|
except KeyError: CC="gcc -I ."
|
||||||
|
|
||||||
try: CXX = os.environ["CXX"]
|
try: CXX = os.environ["CXX"]
|
||||||
except KeyError: CXX="g++"
|
except KeyError: CXX="g++ -I ."
|
||||||
|
|
||||||
includes = [ "-I %s "%(irpdir) ]
|
includes = [ "-I %s "%(irpdir) ]
|
||||||
for i in command_line.include_dir:
|
for i in command_line.include_dir:
|
||||||
|
Loading…
Reference in New Issue
Block a user