projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reduce clock to 50us
[fw/altos]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 54fd11f4ed2b695f188966ee0c9cf33106bafd11..965032e41130a3c97fe3e96e44fc553751c101a2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,15
+1,21
@@
KERNEL=/local/src/linux-2.6-aiko-64
KINC=$(KERNEL)/drivers/usb/serial
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)
+LIBS=-lusb
-OBJS=ccdbg-command.o ccdbg-io.o cccp.o
+KERNEL_OBJS=cccp.o
+LIBUSB_OBJS=cp-usb.o
+
+OBJS=ccdbg.o ccdbg-command.o ccdbg-debug.o ccdbg-io.o $(LIBUSB_OBJS)
INCS=ccdbg.h cccp.h
PROG=ccdbg
$(PROG): $(OBJS)
INCS=ccdbg.h cccp.h
PROG=ccdbg
$(PROG): $(OBJS)
- $(CC) $(CFLAGS) -o $@ $(OBJS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS)
$(LIBS)
clean:
rm -f $(PROG) $(OBJS)
clean:
rm -f $(PROG) $(OBJS)