blob: 965032e41130a3c97fe3e96e44fc553751c101a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
KERNEL=/local/src/linux-2.6-aiko-64
KINC=$(KERNEL)/drivers/usb/serial
WARN=-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes\
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing
CFLAGS=-g -I$(KINC) $(WARN)
LIBS=-lusb
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)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
clean:
rm -f $(PROG) $(OBJS)
$(OBJS): $(INCS)
|