summaryrefslogtreecommitdiff
path: root/mk/scripts.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r--mk/scripts.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk
index a7f3dd8..efbca78 100644
--- a/mk/scripts.mk
+++ b/mk/scripts.mk
@@ -33,6 +33,6 @@ install: realinstall ${INSTALLAFTER}
# A lot of scripts don't have anything to clean
# Also, some rm implentation require a file argument regardless of error
# so we ensure that it has a bogus argument
-CLEANFILES?= .bogus
+CLEANFILES+= ${OBJS}
clean:
- rm -f ${OBJS} ${CLEANFILES}
+ if test -n "${CLEANFILES}"; then rm -f ${CLEANFILES}; fi