ack/plat/pc86/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

28 lines
413 B
Lua

clibrary {
name = "x86emu",
vars = {
["+cflags"] = {"-Iplat/pc86/emu/x86emu", "-DDEBUG"}
},
srcs = {
"./x86emu/debug.c",
"./x86emu/decode.c",
"./x86emu/fpu.c",
"./x86emu/ops2.c",
"./x86emu/ops.c",
"./x86emu/prim_ops.c",
"./x86emu/sys.c",
}
}
cprogram {
name = "pc86emu",
srcs = {"./main.c"},
vars = {
["+cflags"] = {"-Iplat/pc86/emu/x86emu", "-DDEBUG"}
},
deps = {
"+x86emu"
}
}