Skip to content

Commit

Permalink
Fix some build issues when using the make build backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 30, 2022
1 parent 5b554e8 commit baff578
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion first/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ definerule("cprogram",
commands = {
type="strings",
default={
"$(CC) $LDFLAGS -o %{outs[1]} %{ins} %{ins}"
"$(CC) $(LDFLAGS) -o %{outs[1]} %{ins} %{ins}"
},
}
},
Expand Down
2 changes: 1 addition & 1 deletion mach/proto/fp/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/src/em_code/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/src/em_data/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions modules/src/read_em/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ normalrule {
},
outleaves = "C_mnem_narg.h",
commands = {
"$LUA %{ins[1]} < %{ins[3]} > %{outs}"
"$(LUA) %{ins[1]} < %{ins[3]} > %{outs}"
}
}

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

Expand Down
2 changes: 1 addition & 1 deletion util/ncgg/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ normalrule {
},
outleaves = { "enterkeyw.c" },
commands = {
"$LUA %{ins[1]} < %{ins[2]} > %{outs[1]}"
"$(LUA) %{ins[1]} < %{ins[2]} > %{outs[1]}"
}
}

Expand Down

0 comments on commit baff578

Please sign in to comment.