diff options
author | Taybin Rutkin <taybin@taybin.com> | 2005-05-17 20:36:12 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2005-05-17 20:36:12 +0000 |
commit | 98fca2dee0ed8dc7e755072ae3af6d0debf9e49f (patch) | |
tree | 4b6dbab374ceecd7a31ab2f135dff9be5e99b6d3 /libs | |
parent | 0935e8ec72a6a7a509c84bf69713d2c080918d18 (diff) |
Cleaner use of scon and yacc/bison.
git-svn-id: svn://localhost/trunk/ardour2@11 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/cassowary/SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/cassowary/SConscript b/libs/cassowary/SConscript index 7fef464a97..97dbf575e6 100644 --- a/libs/cassowary/SConscript +++ b/libs/cassowary/SConscript @@ -1,7 +1,7 @@ # -*- python -*- Import('env libraries') -cassowary = env.Copy() +cassowary = env.Copy(YACCFLAGS="-d") domain = 'libcassowary' cassowary.Append(DOMAIN=domain,MAJOR=0,MINOR=60,MICRO=3) @@ -23,7 +23,9 @@ ClReader.cc ClReader-lex.cc """) -cassowary.Command('ClReader.cc', 'ClReader.yy', 'bison -y -d -pcl --output-file $TARGET $SOURCES') +cassowary.Append(CCFLAGS="-D_REENTRANT") + +cassowary.CXXFile(target = ['ClReader.cc', 'ClReader.cc.h'], source = 'ClReader.yy') cassowary.CXXFile(target = 'ClReader-lex.cc', source = 'ClReader.ll') libcassowary = cassowary.StaticLibrary('cassowary', cassowary_files) |