# Makefile for vm selftestsCC=$(CROSS_COMPILE)gcc
CFLAGS=-Wall
BINARIES=hugepage-mmaphugepage-shmmap_hugetlbthuge-genhugetlbfstest
all:$(BINARIES)%:%.c$(CC)$(CFLAGS)-o$@$^
run_tests:all@/bin/sh./run_vmtests||(echo"vmtests: [FAIL]";exit1)clean:$(RM)$(BINARIES)