Add specific target for cleaning the utests
authorKevin Klues <klueska@cs.berkeley.edu>
Mon, 2 Jun 2014 06:48:03 +0000 (23:48 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Mon, 2 Jun 2014 06:48:03 +0000 (23:48 -0700)
Makefile

index 7a7967c..5a9191b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -555,7 +555,7 @@ $(user-dirs):
 
 PHONY += userclean $(clean-user-dirs)
 clean-user-dirs := $(addprefix _clean_user_,$(user-dirs))
-userclean: $(clean-user-dirs) testclean
+userclean: $(clean-user-dirs) testclean utestclean
 
 $(clean-user-dirs):
        @cd user/$(patsubst _clean_user_%,%,$@) && $(MAKE) clean
@@ -571,6 +571,9 @@ utest: $(user-dirs)
 testclean:
        @$(MAKE) -f tests/Makefile clean
 
+utestclean:
+       @$(MAKE) -f user/utest/Makefile clean
+
 # KFS related stuff
 PHONY += fill-kfs unfill-kfs
 XCC_SO_FILES = $(addprefix $(XCC_TARGET_ROOT)/lib/, *.so*)