summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-20 15:11:49 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 16:37:03 (GMT)
commit95c40793aaa5faa69012ccb8c5c54cee13510d01 (patch)
treee148c134648d3999c360f66df33f3e765a5512a7 /config
parent61a7366c9306f17c45b7832de1c2838ab017ac38 (diff)
another round of 'make distclean' fixing
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'config')
-rw-r--r--config/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/Makefile b/config/Makefile
index f2e20cb..e421178 100644
--- a/config/Makefile
+++ b/config/Makefile
@@ -1,7 +1,9 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
+ifneq ($(filter-out clean,${MAKECMDGOALS}),)
include ${TOPDIR}/rules.mk
+endif
CP=cp -fpR
HOSTCFLAGS+=-DKBUILD_NO_NLS
@@ -124,5 +126,5 @@ ncurses:
fi
clean:
- rm -f *.o *~ core $(TARGETS) $(MCONF_OBJS) $(CONF_OBJS) \
+ rm -f *.o *~ core $(TARGETS) $(MCONF_OBJS) $(CONF_OBJS) zconf.hash.c \
conf mconf zconf.tab.c zconf.tab.h lex.zconf.c lkc_defs.h