1# Makefile for vm selftests 2 3CFLAGS = -Wall 4BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest 5BINARIES += transhuge-stress 6 7all: $(BINARIES) 8%: %.c 9 $(CC) $(CFLAGS) -o $@ $^ -lrt 10 11TEST_PROGS := run_vmtests 12TEST_FILES := $(BINARIES) 13 14include ../lib.mk 15 16clean: 17 $(RM) $(BINARIES) 18