Linux 3.11-rc3
[cris-mirror.git] / tools / testing / selftests / vm / Makefile
blob3f94e1afd6cfdf88b906d9806b7873633f5523cb
1 # Makefile for vm selftests
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5 BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
7 all: $(BINARIES)
8 %: %.c
9 $(CC) $(CFLAGS) -o $@ $^
11 run_tests: all
12 @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
14 clean:
15 $(RM) $(BINARIES)