summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-11-27 12:33:40 -0800
committerKeith Packard <keithp@keithp.com>2008-11-27 12:33:40 -0800
commit0ffe4ef870b0e564789a1990aeab5b6651868e5b (patch)
tree68f207864435a4fab7997a77716403151770d092 /Makefile
cc1111 debug port access through cp2103 serial chip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..54fd11f4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+KERNEL=/local/src/linux-2.6-aiko-64
+KINC=$(KERNEL)/drivers/usb/serial
+
+CFLAGS=-g -I$(KINC)
+
+OBJS=ccdbg-command.o ccdbg-io.o cccp.o
+INCS=ccdbg.h cccp.h
+
+PROG=ccdbg
+
+$(PROG): $(OBJS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS)
+
+clean:
+ rm -f $(PROG) $(OBJS)
+
+$(OBJS): $(INCS)