summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-11-26 20:13:32 +0530
committerAmit Shah <amit.shah@redhat.com>2009-11-26 20:13:32 +0530
commit3f621762b88f5c7130e4955f1d08bff674a74256 (patch)
tree0051de555eaea34100b75aefe2c4949a3febda16 /Makefile
parent51cf586256115a5bedaa0e937105da12fb0b7680 (diff)
downloadtest-virtserial-3f621762b88f5c7130e4955f1d08bff674a74256.tar.gz
test-virtserial-3f621762b88f5c7130e4955f1d08bff674a74256.tar.xz
test-virtserial-3f621762b88f5c7130e4955f1d08bff674a74256.zip
Makefile: clean target, dependencies on .h files
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b73d36a..4cf5dab 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,14 @@
CFLAGS=-Wall -g
all: test-virtserial auto-virtserial auto-virtserial-guest
- $(CC) $(CFLAGS) -o $< $<.c
-debug: test-virtserial auto-virtserial auto-virtserial-guest
- $(CC) $(CFLAGS) -DDEBUG=1 -o $< $<.c
+clean:
+ -rm -f test-virtserial auto-virtserial auto-virtserial-guest *.plist
-.PHONY: all debug
+.PHONY: all clean
+
+test-virtserial:
+
+auto-virtserial: virtserial.h
+
+auto-virtserial-guest: virtserial.h