Add prototypes, add stub mainline, add .gitignore
[fw/altos] / Makefile
index 54fd11f4ed2b695f188966ee0c9cf33106bafd11..8e80e65c587a874e7391acf3dc87ad86014d7500 100644 (file)
--- 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