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 = {
type="strings",
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" },
commands = {
"$LUA %{ins[1]} <%{ins[2]} >%{outs}"
"$(LUA) %{ins[1]} <%{ins[2]} >%{outs}"
}
}
end

View file

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

View file

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

View file

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

View file

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