Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee authored by Linus Torvalds on 22 June 2014, 05:02:54 UTC
Linux 3.16-rc2
Tip revision: a497c3b
Makefile
# Makefile for vm selftests

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

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

run_tests: all
	@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)

clean:
	$(RM) $(BINARIES)
back to top