X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=Makefile;h=2fd8ec6dfac8d97c56cb164bc66d6d57cfd2d83e;hp=8e80e65c587a874e7391acf3dc87ad86014d7500;hb=807e2adacb025af77bb53c03209e9c8e0d7a5f95;hpb=01cb2799875e086ee6096627c058ee235bbc33d5 diff --git a/Makefile b/Makefile index 8e80e65c..2fd8ec6d 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,20 @@ 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-debug.o \ + ccdbg-io.o ccdbg-memory.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)