mm: rename alloc_pages_exact_node() to __alloc_pages_node()
[linux/fpc-iii.git] / tools / testing / selftests / vm / Makefile
blobd36fab7d8ebd90c1de5a6878171dca75ea518998
1 # Makefile for vm selftests
3 CFLAGS = -Wall
4 BINARIES = compaction_test
5 BINARIES += hugepage-mmap
6 BINARIES += hugepage-shm
7 BINARIES += map_hugetlb
8 BINARIES += thuge-gen
9 BINARIES += transhuge-stress
10 BINARIES += userfaultfd
12 all: $(BINARIES)
13 %: %.c
14 $(CC) $(CFLAGS) -o $@ $^ -lrt
15 userfaultfd: userfaultfd.c
16 $(CC) $(CFLAGS) -O2 -o $@ $^ -lpthread
18 TEST_PROGS := run_vmtests
19 TEST_FILES := $(BINARIES)
21 include ../lib.mk
23 clean:
24 $(RM) $(BINARIES)