summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-04 14:47:17 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-04 14:47:17 +0000
commit75e3be2c706ebd829b5d544dd20b4a00ac4520ea (patch)
treeded2e0c7c93fb288e676c3797151480cd5568d2d /libpthread
parentde7d1814e1b6243d9e865319607aaae2982fc884 (diff)
Do not recurse into ldso/libc/libpthread on clean
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 18292917a..a1cdcaedc 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -67,10 +67,12 @@ $(patsubst %, _dir_%, $(DIRS)) : dummy
$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
-clean: subdirs_clean
+headers_clean:
$(RM) $(TOPDIR)include/pthread.h $(TOPDIR)include/semaphore.h \
$(TOPDIR)include/thread_db.h \
$(TOPDIR)include/bits/pthreadtypes.h $(TOPDIR)include/bits/semaphore.h \
$(TOPDIR)include/bits/libc-lock.h $(TOPDIR)include/bits/stdio-lock
+clean: subdirs_clean headers_clean
+
.PHONY: dummy