summaryrefslogtreecommitdiff
path: root/powerpc/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'powerpc/mm/Makefile')
-rw-r--r--powerpc/mm/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/powerpc/mm/Makefile b/powerpc/mm/Makefile
index a14c538..ee179e2 100644
--- a/powerpc/mm/Makefile
+++ b/powerpc/mm/Makefile
@@ -1,21 +1,17 @@
noarg:
$(MAKE) -C ../
-PROGS := hugetlb_vs_thp_test subpage_prot
+TEST_PROGS := hugetlb_vs_thp_test subpage_prot
+TEST_FILES := tempfile
-all: $(PROGS) tempfile
+all: $(TEST_PROGS) $(TEST_FILES)
-$(PROGS): ../harness.c
+$(TEST_PROGS): ../harness.c
-run_tests: all
- @-for PROG in $(PROGS); do \
- ./$$PROG; \
- done;
+include ../../lib.mk
tempfile:
dd if=/dev/zero of=tempfile bs=64k count=1
clean:
- rm -f $(PROGS) tempfile
-
-.PHONY: all run_tests clean
+ rm -f $(TEST_PROGS) tempfile