Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> mpe: Fix compile errors and formatting. Add tempfile logic to Makefile. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
21 lines
298 B
Makefile
21 lines
298 B
Makefile
noarg:
|
|
$(MAKE) -C ../
|
|
|
|
PROGS := hugetlb_vs_thp_test subpage_prot
|
|
|
|
all: $(PROGS) tempfile
|
|
|
|
$(PROGS): ../harness.c
|
|
|
|
run_tests: all
|
|
@-for PROG in $(PROGS); do \
|
|
./$$PROG; \
|
|
done;
|
|
|
|
tempfile:
|
|
dd if=/dev/zero of=tempfile bs=64k count=1
|
|
|
|
clean:
|
|
rm -f $(PROGS) tempfile
|
|
|
|
.PHONY: all run_tests clean
|