1 # Makefile for vm selftests
4 BINARIES
= compaction_test
5 BINARIES
+= hugepage-mmap
6 BINARIES
+= hugepage-shm
7 BINARIES
+= map_hugetlb
9 BINARIES
+= transhuge-stress
10 BINARIES
+= userfaultfd
14 $(CC
) $(CFLAGS
) -o
$@
$^
-lrt
15 userfaultfd
: userfaultfd.c
16 $(CC
) $(CFLAGS
) -O2
-o
$@
$^
-lpthread
18 TEST_PROGS
:= run_vmtests
19 TEST_FILES
:= $(BINARIES
)