Commit fc256f04 authored by Joern Engel's avatar Joern Engel Committed by Linus Torvalds

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: default avatarJoern Engel <joern@logfs.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 51a1d165
...@@ -2,8 +2,9 @@ ...@@ -2,8 +2,9 @@
CC = $(CROSS_COMPILE)gcc CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall CFLAGS = -Wall
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen
all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen all: $(BINARIES)
%: %.c %: %.c
$(CC) $(CFLAGS) -o $@ $^ $(CC) $(CFLAGS) -o $@ $^
...@@ -11,4 +12,4 @@ run_tests: all ...@@ -11,4 +12,4 @@ run_tests: all
@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1) @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
clean: clean:
$(RM) hugepage-mmap hugepage-shm map_hugetlb $(RM) $(BINARIES)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment