summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-12 09:57:53 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-12 09:57:53 +0000
commite4492b9c21b645018b2d7702665be8c1eb4a1b5c (patch)
treebc899af3d7de3d4b1c42be29ee90f842d6f00051 /Makefile
parent57a66bf9e50deeab6f61be75e9311f8d2eb596b7 (diff)
Clean test dir on 'make clean'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5d88e1ad6..7eae424e0 100644
--- a/Makefile
+++ b/Makefile
@@ -64,12 +64,12 @@ clean: subdirs_clean
rm -f include/asm include/net include/linux include/bits
subdirs: $(patsubst %, _dir_%, $(DIRS))
-subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))
+subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS) test)
$(patsubst %, _dir_%, $(DIRS)) : dummy
$(MAKE) -C $(patsubst _dir_%, %, $@)
-$(patsubst %, _dirclean_%, $(DIRS)) : dummy
+$(patsubst %, _dirclean_%, $(DIRS) test) : dummy
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
.PHONY: dummy