]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - tools/testing/selftests/vm/Makefile
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[karo-tx-linux.git] / tools / testing / selftests / vm / Makefile
1 # Makefile for vm selftests
2
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5 BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
6
7 all: $(BINARIES)
8 %: %.c
9         $(CC) $(CFLAGS) -o $@ $^
10
11 run_tests: all
12         @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
13
14 clean:
15         $(RM) $(BINARIES)