Fix some build issues when using the make build backend.

This commit is contained in:
dg 2022-12-30 18:50:16 +00:00
parent 5b554e8e6e
commit baff578256
6 changed files with 7 additions and 7 deletions

View file

@ -225,7 +225,7 @@ definerule("cprogram",
commands = { commands = {
type="strings", type="strings",
default={ default={
"$(CC) $LDFLAGS -o %{outs[1]} %{ins} %{ins}" "$(CC) $(LDFLAGS) -o %{outs[1]} %{ins} %{ins}"
}, },
} }
}, },

View file

@ -78,7 +78,7 @@ for _, plat in ipairs({"cpm"}) do
}, },
outleaves = { n..".s" }, outleaves = { n..".s" },
commands = { commands = {
"$LUA %{ins[1]} <%{ins[2]} >%{outs}" "$(LUA) %{ins[1]} <%{ins[2]} >%{outs}"
} }
} }
end end

View file

@ -8,7 +8,7 @@ normalrule {
}, },
outleaves = { "em_codeEK.h" }, outleaves = { "em_codeEK.h" },
commands = { commands = {
"$LUA %{ins[1]} < %{ins[3]} > %{outs}", "$(LUA) %{ins[1]} < %{ins[3]} > %{outs}",
"cat %{ins[4]} >> %{outs}" "cat %{ins[4]} >> %{outs}"
} }
} }

View file

@ -23,7 +23,7 @@ for _, f in ipairs(GENFILES) do
"h+emheaders" "h+emheaders"
}, },
commands = { commands = {
"$LUA %{ins[1]} < %{ins[3]} > %{outs}" "$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
} }
} }
end end

View file

@ -7,7 +7,7 @@ normalrule {
}, },
outleaves = "C_mnem_narg.h", outleaves = "C_mnem_narg.h",
commands = { commands = {
"$LUA %{ins[1]} < %{ins[3]} > %{outs}" "$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
} }
} }
@ -20,7 +20,7 @@ normalrule {
}, },
outleaves = "C_mnem.h", outleaves = "C_mnem.h",
commands = { commands = {
"$LUA %{ins[1]} < %{ins[3]} > %{outs}" "$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
} }
} }

View file

@ -18,7 +18,7 @@ normalrule {
}, },
outleaves = { "enterkeyw.c" }, outleaves = { "enterkeyw.c" },
commands = { commands = {
"$LUA %{ins[1]} < %{ins[2]} > %{outs[1]}" "$(LUA) %{ins[1]} < %{ins[2]} > %{outs[1]}"
} }
} }