[SCons] Fixed path to Cantera.mak in sample Makefiles
Fixes Issue 144.
This commit is contained in:
parent
c084148b0e
commit
c7ff7dd1cf
2 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
include ../../Cantera.mak
|
||||
include @make_Cantera_dot_mak@
|
||||
|
||||
CC=@CC@
|
||||
CXX=@CXX@
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ for subdir, name, extensions in samples:
|
|||
## Generate Makefiles to be installed
|
||||
localenv['make_sourcefile'] = '%s.cpp' % name
|
||||
localenv['make_target'] = name
|
||||
localenv['make_Cantera_dot_mak'] = pjoin(localenv['ct_incroot'], 'cantera', 'Cantera.mak')
|
||||
makefile = build(localenv.SubstFile(pjoin(subdir, 'Makefile'), 'Makefile.in'))
|
||||
install(pjoin('$inst_sampledir', 'cxx', subdir), makefile)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue