Kernel  |  3.4

下载     查看原文件
普通文本  |  15行  |  250 B
# Makefile for vm selftests

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra

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

run_tests: all
	/bin/sh ./run_vmtests

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