summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-11-27 17:07:15 -0800
committerKeith Packard <keithp@keithp.com>2008-11-27 17:07:15 -0800
commit01cb2799875e086ee6096627c058ee235bbc33d5 (patch)
tree1439d37ce7709105b40e10998a981f6f5ffda91e /Makefile
parent0ffe4ef870b0e564789a1990aeab5b6651868e5b (diff)
Add prototypes, add stub mainline, add .gitignore
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 54fd11f4..8e80e65c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
KERNEL=/local/src/linux-2.6-aiko-64
KINC=$(KERNEL)/drivers/usb/serial
-CFLAGS=-g -I$(KINC)
+WARN=-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes\
+ -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
+CFLAGS=-g -I$(KINC) $(WARN)
-OBJS=ccdbg-command.o ccdbg-io.o cccp.o
+OBJS=ccdbg.o ccdbg-command.o ccdbg-io.o cccp.o
INCS=ccdbg.h cccp.h
PROG=ccdbg