Merge remote-tracking branches 'asoc/topic/wm8804', 'asoc/topic/wm8904', 'asoc/topic...
[linux-2.6-block.git] / tools / testing / selftests / vm / Makefile
CommitLineData
f0f57b2b
DY
1# Makefile for vm selftests
2
3CC = $(CROSS_COMPILE)gcc
fcc1f2d5 4CFLAGS = -Wall
7e50533d 5BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
0085d61f 6BINARIES += transhuge-stress
f0f57b2b 7
fc256f04 8all: $(BINARIES)
f0f57b2b 9%: %.c
f5db310d 10 $(CC) $(CFLAGS) -o $@ $^ -lrt
f0f57b2b
DY
11
12run_tests: all
51a1d165 13 @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
f0f57b2b
DY
14
15clean:
fc256f04 16 $(RM) $(BINARIES)