summaryrefslogtreecommitdiff
path: root/ldso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/Makefile')
-rw-r--r--ldso/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index 340ddfacb..07bf63241 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -43,9 +43,11 @@ include/dl-progname.h:
echo '#include "$(TARGET_ARCH)/elfinterp.c"' \
> include/dl-progname.h
-clean: subdirs_clean
+headers_clean:
$(RM) $(HEADERS)
+clean: subdirs_clean headers_clean
+
subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))