linux/tools/testing/selftests/vm/Makefile
<<
>>
Prefs
   1# Makefile for vm selftests
   2
   3CC = $(CROSS_COMPILE)gcc
   4CFLAGS = -Wall
   5BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
   6
   7all: $(BINARIES)
   8%: %.c
   9        $(CC) $(CFLAGS) -o $@ $^
  10
  11run_tests: all
  12        @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
  13
  14clean:
  15        $(RM) $(BINARIES)
  16