aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2009-12-02 13:14:21 +0100
committerAndi Kleen <ak@linux.intel.com>2009-12-02 13:16:21 +0100
commitce2a87bd755bb54bc009bca06c09ec717a44f002 (patch)
treee4a4cb73c4177c9b2514b827bfc3da994a72b7ff
parentb94dd41a597d1bf367bf019143e271f116143696 (diff)
downloadmce-test-ce2a87bd755bb54bc009bca06c09ec717a44f002.tar.gz
Fix makefile rules for simple_process
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r--README8
-rw-r--r--tools/simple_process/Makefile10
2 files changed, 13 insertions, 5 deletions
diff --git a/README b/README
index e4a7cfb..3eb183b 100644
--- a/README
+++ b/README
@@ -33,9 +33,11 @@ cases/*
Contains all test cases, which may be organized in
sub-directories, the interface of a class of test cases is a
shell script under cases/, such as:
- cases/soft-inj/panic/cases.sh
- is for test cases triggered by soft-inject and my cause system
- panic during testing.
+ -- cases/soft-inj/panic/cases.sh
+ is for test cases triggered by soft-inject and may cause system
+ panic during testing.
+ -- cases/apei-inj/ucr/cases.sh
+ is for test cases triggered by apei-inject.
config/*
Contains test configuration files, which specifies the
diff --git a/tools/simple_process/Makefile b/tools/simple_process/Makefile
index e2a4116..d7c4e47 100644
--- a/tools/simple_process/Makefile
+++ b/tools/simple_process/Makefile
@@ -1,7 +1,13 @@
-all:
- gcc -Wall -g simple_process.c -o simple_process
+CFLAGS := -g -Wall
+all: simple_process
+
+install:
cp simple_process ../../bin
+simple_process: simple_process.o
+
+simple_process.o: simple_process.c
+
clean:
rm -f simple_process *.o