self-test: fix make clean

thuge-gen was forgotten.  Fix it by removing the duplication, so we don't
get too many repeats.

Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Joern Engel 2013-07-03 15:09:18 -07:00 committed by Linus Torvalds
parent 51a1d16563
commit fc256f04eb

View File

@ -2,8 +2,9 @@
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen
all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen
all: $(BINARIES)
%: %.c
$(CC) $(CFLAGS) -o $@ $^
@ -11,4 +12,4 @@ run_tests: all
@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
clean:
$(RM) hugepage-mmap hugepage-shm map_hugetlb
$(RM) $(BINARIES)