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 = {
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]}"
}
}