diff options
Diffstat (limited to 'share/examples/libusb20/Makefile')
-rw-r--r-- | share/examples/libusb20/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/share/examples/libusb20/Makefile b/share/examples/libusb20/Makefile index 6f870a1..f0da6bf 100644 --- a/share/examples/libusb20/Makefile +++ b/share/examples/libusb20/Makefile @@ -1,13 +1,14 @@ # $FreeBSD$ TARGETS= bulk control +CFLAGS+= -Wall all: $(TARGETS) -bulk: bulk.o aux.o - $(CC) $(CFLAGS) -o bulk bulk.o aux.o -lusb +bulk: bulk.o util.o + $(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb -control: control.o aux.o - $(CC) $(CFLAGS) -o control control.o aux.o -lusb +control: control.o util.o + $(CC) $(CFLAGS) -o control control.o util.o -lusb clean: rm -f $(TARGETS) *.o *~ |