2014-05-28 16:21:18 +08:00
|
|
|
noarg:
|
|
|
|
$(MAKE) -C ../
|
|
|
|
|
2016-07-11 13:25:18 +08:00
|
|
|
TEST_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao
|
2015-08-17 14:35:48 +08:00
|
|
|
TEST_FILES := tempfile
|
2014-05-28 16:21:18 +08:00
|
|
|
|
2015-08-17 14:35:48 +08:00
|
|
|
all: $(TEST_PROGS) $(TEST_FILES)
|
2014-05-28 16:21:18 +08:00
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
$(TEST_PROGS): ../harness.c
|
2014-05-28 16:21:18 +08:00
|
|
|
|
2016-07-11 13:25:18 +08:00
|
|
|
prot_sao: ../utils.c
|
|
|
|
|
2015-03-11 12:06:01 +08:00
|
|
|
include ../../lib.mk
|
2014-05-28 16:21:18 +08:00
|
|
|
|
2014-12-09 14:14:07 +08:00
|
|
|
tempfile:
|
|
|
|
dd if=/dev/zero of=tempfile bs=64k count=1
|
|
|
|
|
2014-05-28 16:21:18 +08:00
|
|
|
clean:
|
2015-03-11 12:06:01 +08:00
|
|
|
rm -f $(TEST_PROGS) tempfile
|