summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-11 18:14:46 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-11 18:14:46 +0000
commit3901d1d358e56d186848f16b15f90c261892e454 (patch)
tree0110ec5f4658eb2c2555104e98fff3bdac2ee6a1
parent5546739e9fb63a97165ea6e9176f9bc8ca672cc5 (diff)
Fix the 'make clean' target
-rw-r--r--test/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index d842a7232..354d99bb0 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -24,10 +24,11 @@ TOPDIR=../
include $(TOPDIR)Rules.mak
ifeq ($(TARGET_ARCH), $(NATIVE_ARCH))
- DIRS = assert ctype pwd_grp signal silly stdlib string
+ DIRS = args assert ctype pwd_grp signal silly stdlib string unistd
else
DIRS =
endif
+ALL_SUBDIRS = args assert ctype pwd_grp signal silly stdlib string unistd
all: subdirs
@@ -38,12 +39,12 @@ clean: subdirs_clean
rm -f *.[oa] *~ core
subdirs: $(patsubst %, _dir_%, $(DIRS))
-subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))
+subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
$(patsubst %, _dir_%, $(DIRS)) : dummy
$(MAKE) -C $(patsubst _dir_%, %, $@)
-$(patsubst %, _dirclean_%, $(DIRS)) : dummy
+$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
.PHONY: dummy