diff options
author | Andi Kleen <ak@linux.intel.com> | 2009-10-28 11:35:06 +0100 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2009-10-28 11:35:06 +0100 |
commit | 7065e3da86955110e185bc436f067c69abd72f7f (patch) | |
tree | a715ab4d5538da2cacdda47abe379ee672324c26 | |
parent | 650f087800a57018ff1d33d1a2cb217f879cf749 (diff) | |
download | mce-test-7065e3da86955110e185bc436f067c69abd72f7f.tar.gz |
Fix tsrc Makefile clean target to clean everything
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | tsrc/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tsrc/Makefile b/tsrc/Makefile index 77a5e6c..5f384d5 100644 --- a/tsrc/Makefile +++ b/tsrc/Makefile @@ -5,11 +5,17 @@ CFLAGS += -I ${LSRC}/arch/x86/kernel/cpu/mcheck/ -g -Wall KFLAGS := -I ./kinclude +EXE := tinjpage tinjpage-working tkillpoison tprctl +EXEKERNEL := tring ttable + +OBJ := $(addsuffix .o,${EXE}) +OBJKERNEL := $(addsuffix .o,${EXEKERNEL}) + all: standalone -standalone: tinjpage tinjpage-working tkillpoison tprctl +standalone: ${EXE} -requireskernel: tcases ttable +kernel: ${EXEKERNEL} tcases: tcases.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-severity.c ${LSRC}/arch/x86/kernel/cpu/mcheck/mce-internal.h ${CC} ${CFLAGS} ${KFLAGS} -o tcases tcases.c @@ -36,8 +42,8 @@ tinjpage: LDFLAGS += -lpthread .PHONY: clean distclean clean: - rm -f tcases ttable x.html tinjpage - rm -f tkillpoison tring + rm -f ${EXE} ${OBJ} + rm -f ${EXEKERNEL} ${OBJKERNEL} distclean: clean |