Start anew
This commit is contained in:
1 parent
1a5b1292ee
commit
6d102b8de9
80 files changed
+511
-16524
No files matched your search
+3
-10
@@ -1,19 +1,12 @@
|
||||
configure do
|
||||
check_cxx_compiler
|
||||
check_program "flex"
|
||||
check_program "bison"
|
||||
check_lib "pthread"
|
||||
check_cfg package: "libpng"
|
||||
end
|
||||
|
||||
env do |env|
|
||||
env["CCFLAGS"] += %w[-Wall -O2]
|
||||
env["CPPPATH"] += glob("src/**")
|
||||
env["CPPPATH"] += %w[src]
|
||||
|
||||
env.CFile("^/parser/lexer.cc", "src/parser/parser.ll")
|
||||
env.CFile("^/parser/parser.cc", "src/parser/parser.yy")
|
||||
env["CPPPATH"] += ["#{env.build_root}/parser"]
|
||||
|
||||
sources = glob("src/**/*.cc")
|
||||
sources += ["^/parser/lexer.cc", "^/parser/parser.cc"]
|
||||
sources = glob("src/**/*.cpp")
|
||||
env.Program("fart", sources)
|
||||
end
|
||||
Reference in new issue
Block a user