aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-13 13:55:23 +0000
committerRoy Marples <roy@marples.name>2008-01-13 13:55:23 +0000
commitf7551870209efce978493991f723d839803534f0 (patch)
tree2336a7c9d40449554b2af6f0d20b8aa04908cd00 /mk
parent98b865bbc70b4646bb3a2bcdee3322dbce3766d1 (diff)
Change lib name during make, not install.
Diffstat (limited to '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 a7f3dd87..efbca780 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