- Call subclean' after
clean' for each program.
- Eliminate compiler warning.
This commit is contained in:
parent
5ea63116b8
commit
a0bac7e013
@ -993,12 +993,12 @@ void prog_makefile_rules(FILE *outmk, prog_t *p)
|
||||
p->ident, p->ident);
|
||||
fprintf(outmk, "\n");
|
||||
fprintf(outmk, "%s_clean:\n", p->ident);
|
||||
fprintf(outmk, "\t(cd $(%s_SRCDIR) && $(MAKE) $(BUILDOPTS) clean)\n\n",
|
||||
fprintf(outmk, "\t(cd $(%s_SRCDIR) && $(MAKE) $(BUILDOPTS) clean cleandepend)\n\n",
|
||||
p->ident);
|
||||
} else {
|
||||
fprintf(outmk, "%s_make:\n", p->ident);
|
||||
fprintf(outmk, "\t@echo \"** cannot make objs for %s\"\n\n",
|
||||
p->ident, p->name);
|
||||
p->name);
|
||||
}
|
||||
|
||||
fprintf(outmk, "%s_OBJPATHS=", p->ident);
|
||||
|
Loading…
Reference in New Issue
Block a user