mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
27 lines
790 B
Python
27 lines
790 B
Python
import os
|
|
env = Environment(ENV = os.environ)
|
|
|
|
@tmpl_cc@
|
|
@tmpl_f77@
|
|
env.Append(FFLAGS='-g',
|
|
CCFLAGS=@tmpl_compiler_flags@,
|
|
CPPPATH=@tmpl_cantera_incdirs@,
|
|
LIBS=@tmpl_cantera_libs@,
|
|
LIBPATH=@tmpl_cantera_libdirs@,
|
|
RPATH=@tmpl_cantera_libdirs@,
|
|
LINKFLAGS=@tmpl_cantera_linkflags@,
|
|
FRAMEWORKS=@tmpl_cantera_frameworks@)
|
|
|
|
ftnlib = env.SharedObject('demo_ftnlib.cpp')
|
|
|
|
ctlib = env.Program('ctlib', [ftnlib, 'ctlib.f'],
|
|
LINK='@FORTRAN_LINK@')
|
|
demo = env.Program('demo', [ftnlib, 'f77_demo.f'],
|
|
LINK='@FORTRAN_LINK@')
|
|
isentropic = env.Program('isentropic', [ftnlib, 'isentropic.f'],
|
|
LINK='@FORTRAN_LINK@')
|
|
|
|
Default(ctlib)
|
|
Default(demo)
|
|
Default(isentropic)
|