Clean objects in OBJDIR if set

This commit is contained in:
Pierre Pronchery 2016-02-14 21:42:11 +01:00
parent d9117f6c34
commit 57275fd77c

View File

@ -1747,7 +1747,8 @@ static int _clean_targets(Configure * configure, FILE * fp)
== NULL)
prefix = "$(PREFIX)";
_makefile_print(fp, "\t%s%s%s%s%s%s\n", p, " -c -P \"",
prefix, "\" -- \"", targets, "\"");
prefix, "\" -- \"$(OBJDIR)", targets,
"\"");
}
if(c == '\0')
break;