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