Improved ninja

This commit is contained in:
Anthony Scemama 2015-05-28 01:29:01 +02:00
parent fd4f8ebe53
commit 59c1dc363a
2 changed files with 4 additions and 4 deletions

View File

@ -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=

View File

@ -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: