1noarg: 2 $(MAKE) -C ../ 3 4PROGS := hugetlb_vs_thp_test subpage_prot 5 6all: $(PROGS) tempfile 7 8$(PROGS): ../harness.c 9 10run_tests: all 11 @-for PROG in $(PROGS); do \ 12 ./$$PROG; \ 13 done; 14 15tempfile: 16 dd if=/dev/zero of=tempfile bs=64k count=1 17 18clean: 19 rm -f $(PROGS) tempfile 20 21.PHONY: all run_tests clean 22