ack/plat/linuxppc/emu/build.lua
David Given 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00

32 lines
378 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 = {
"./emu.c",
"./main.c",
},
deps = {
"+dispatcher_lib"
}
}