self-test: fix make clean
[linux/fpc-iii.git] / tools / testing / selftests / vm / Makefile
blobcb3f5f2e0f5ff284977114b631bd0c6442e3bf2f
1 # Makefile for vm selftests
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5 BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen
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)