# Makefile for vm selftests | |
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) |