Makefile 301 字节
Newer Older
1 2 3
# Makefile for vm selftests

CC = $(CROSS_COMPILE)gcc
4
CFLAGS = -Wall
J
Joern Engel 已提交
5
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
6
BINARIES += transhuge-stress
7

J
Joern Engel 已提交
8
all: $(BINARIES)
9
%: %.c
10
	$(CC) $(CFLAGS) -o $@ $^ -lrt
11

12 13 14
TEST_PROGS := run_vmtests

include ../lib.mk
15 16

clean:
J
Joern Engel 已提交
17
	$(RM) $(BINARIES)