4 env
= DefaultEnvironment()
5 for param
in os
.environ
.keys():
6 env
['ENV'][param
] = os
.environ
[param
]
8 def command(name
, deps
, line
):
9 AlwaysBuild(Alias(name
, deps
, line
))
11 lib
= SharedLibrary(target
= "compile_core", source
= ["compile_core.cpp"], CPPPATH
="/usr/include/lua5.1", LIBS
=["luabind", "png"], CXXFLAGS
="-g", LINKFLAGS
="-g")
12 command("compile", lib
, "luajit -O2 compile.lua master localhostx5")
13 command("compile_local", lib
, "luajit -O2 compile.lua")