]> git.openfabrics.org - ~shefty/rdma-dev.git/blob - tools/testing/selftests/vm/Makefile
vm selftests: print failure status instead of cause make error
[~shefty/rdma-dev.git] / tools / testing / selftests / vm / Makefile
1 # Makefile for vm selftests
2
3 CC = $(CROSS_COMPILE)gcc
4 CFLAGS = -Wall
5
6 all: hugepage-mmap hugepage-shm  map_hugetlb thuge-gen
7 %: %.c
8         $(CC) $(CFLAGS) -o $@ $^
9
10 run_tests: all
11         @/bin/sh ./run_vmtests || echo "vmtests: [FAIL]"
12
13 clean:
14         $(RM) hugepage-mmap hugepage-shm  map_hugetlb