xref: /linux/tools/testing/selftests/powerpc/mm/Makefile (revision d34b661b10ab49c9058cd6602fd0162ba6db40a3)
1*d34b661bSMichael Ellermannoarg:
2*d34b661bSMichael Ellerman	$(MAKE) -C ../
3*d34b661bSMichael Ellerman
4*d34b661bSMichael EllermanPROGS := hugetlb_vs_thp_test
5*d34b661bSMichael Ellerman
6*d34b661bSMichael Ellermanall: $(PROGS)
7*d34b661bSMichael Ellerman
8*d34b661bSMichael Ellerman$(PROGS): ../harness.c
9*d34b661bSMichael Ellerman
10*d34b661bSMichael Ellermanrun_tests: all
11*d34b661bSMichael Ellerman	@-for PROG in $(PROGS); do \
12*d34b661bSMichael Ellerman		./$$PROG; \
13*d34b661bSMichael Ellerman	done;
14*d34b661bSMichael Ellerman
15*d34b661bSMichael Ellermanclean:
16*d34b661bSMichael Ellerman	rm -f $(PROGS)
17*d34b661bSMichael Ellerman
18*d34b661bSMichael Ellerman.PHONY: all run_tests clean
19