X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile;h=27a389e2b97e7e89e80a4d111c56b4bfe74994cd;hp=8e80e65c587a874e7391acf3dc87ad86014d7500;hb=3709ec3205cfb152b6568f3ea505c67fe7504c2a;hpb=39801e6e9fb9388072ee414a447f74095a6ac960 diff --git a/Makefile b/Makefile index 8e80e65c..27a389e2 100644 --- a/Makefile +++ b/Makefile @@ -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)