summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/vm/Makefile
blob: 1a49761df6eda18c05475c86bb6bf2eae0667872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile for vm selftests

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
BINARIES += transhuge-stress

all: $(BINARIES)
%: %.c
	$(CC) $(CFLAGS) -o $@ $^ -lrt

TEST_PROGS := run_vmtests
TEST_FILES := $(BINARIES)

include ../lib.mk

clean:
	$(RM) $(BINARIES)