mm: move hugepage test examples to tools/testing/selftests/vm
[~shefty/rdma-dev.git] / tools / testing / selftests / vm / Makefile
1 # Makefile for vm selftests
2
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall -Wextra
5
6 all: hugepage-mmap hugepage-shm  map_hugetlb
7 %: %.c
8         $(CC) $(CFLAGS) -o $@ $^
9
10 run_tests: all
11         /bin/sh ./run_vmtests
12
13 clean:
14         $(RM) hugepage-mmap hugepage-shm  map_hugetlb