Merge pull request #276 from davidgiven/dtrg-build

Fix some build issues when using the make build backend.
This commit is contained in:
David Given 2022-12-30 20:27:54 +01:00 committed by GitHub
commit 9dfa4a88c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]}"
} }
} }