aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/Makefile
blob: 7300d0702efe213731381e7106b39a30fc9dd4ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Makefile for vm selftests

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall

all: hugepage-mmap hugepage-shm  map_hugetlb thuge-gen
%: %.c
	$(CC) $(CFLAGS) -o $@ $^

run_tests: all
	/bin/sh ./run_vmtests

clean:
	$(RM) hugepage-mmap hugepage-shm  map_hugetlb