From 57275fd77c910f7c6ef9a902a97311ad6aff57f7 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 14 Feb 2016 21:42:11 +0100 Subject: [PATCH] Clean objects in OBJDIR if set --- src/makefile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/makefile.c b/src/makefile.c index 838a133..07878a4 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -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;