ack/plat/linuxppc/emu/build.lua
2018-06-14 03:07:36 -07:00

29 lines
358 B
Lua

normalrule {
name = "dispatcher",
ins = {
"./mkdispatcher.lua",
"./instructions.dat"
},
outleaves = {
"dispatcher.h"
},
commands = {
"$(LUA) %{ins[1]} < %{ins[2]} > %{outs}"
}
}
clibrary {
name = "dispatcher_lib",
srcs = {},
hdrs = { "+dispatcher" }
}
cprogram {
name = "emuppc",
srcs = { "./*.c" },
deps = {
"+dispatcher_lib"
}
}