From 3901d1d358e56d186848f16b15f90c261892e454 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 11 May 2001 18:14:46 +0000 Subject: Fix the 'make clean' target --- test/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/Makefile') 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 -- cgit v1.2.3