This commit is contained in:
Nishi 2026-05-09 17:40:43 +09:00
commit 7278e994da
Signed by: nishi
GPG key ID: 27EF69B208EB9343
14 changed files with 128 additions and 40 deletions

View file

@ -1,7 +1,5 @@
const PADDING = 24;
pmake.compiler = pmake.compilers["GCC"];
for(var i = 1; i < ARGV.length; i++) {
if(ARGV[i] == "--help") {
var keys;
@ -79,6 +77,8 @@ for(var i = 1; i < ARGV.length; i++) {
}
}
main();
(function() {
function make(output) {
const targets = pmake.resolveProjects(pmake.projects);
@ -134,8 +134,10 @@ function make(output) {
mk.write("\n");
mk.write(pmake.compiler.output(self) + ": " + objs.join(" ") + "\n");
mk.write(" @echo LINK " + pmake.compiler.output(self) + "\n");
mk.write(" $(SILENT)" + pmake.compiler.link(self, objs) + "\n");
if(!(self instanceof pmake.InterfaceProject)) {
mk.write(" @echo LINK " + pmake.compiler.output(self) + "\n");
mk.write(" $(SILENT)" + pmake.compiler.link(self, objs) + "\n");
}
mk.write("\n");
for(var i = 0; i < objs.length; i++) {