summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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