[SCons] Fixed path to Cantera.mak in sample Makefiles

Fixes Issue 144.
This commit is contained in:
Ray Speth 2013-03-04 17:31:11 +00:00
parent c084148b0e
commit c7ff7dd1cf
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,4 @@
include ../../Cantera.mak
include @make_Cantera_dot_mak@
CC=@CC@
CXX=@CXX@

View file

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