diff options
| author | Keith Packard <keithp@keithp.com> | 2008-12-06 16:32:12 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2008-12-06 16:32:12 -0800 |
| commit | 3709ec3205cfb152b6568f3ea505c67fe7504c2a (patch) | |
| tree | c5b8859121e2f5ad6ee73f95b6df3ea128cde9cf /Makefile | |
| parent | 39801e6e9fb9388072ee414a447f74095a6ac960 (diff) | |
Add libusb support and lots more examples
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,14 +4,18 @@ 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 -OBJS=ccdbg.o ccdbg-command.o ccdbg-io.o cccp.o +KERNEL_OBJS=cccp.o +LIBUSB_OBJS=cp-usb.o + +OBJS=ccdbg.o ccdbg-command.o ccdbg-io.o $(LIBUSB_OBJS) INCS=ccdbg.h cccp.h PROG=ccdbg $(PROG): $(OBJS) - $(CC) $(CFLAGS) -o $@ $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS) clean: rm -f $(PROG) $(OBJS) |
