Makefile (3b8f08459569bf0faa21473e5cec2491e95c9349) | Makefile (a5921bc3653e2e286715e6fe8d473ec0d02da38c) |
---|---|
1# $FreeBSD$ | 1# $FreeBSD$ |
2 3PACKAGE=examples 4FILESDIR=${SHAREDIR}/examples/libusb20 |
|
2TARGETS= bulk control 3CFLAGS+= -Wall 4 5all: $(TARGETS) 6 7bulk: bulk.o util.o 8 $(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb 9 10control: control.o util.o 11 $(CC) $(CFLAGS) -o control control.o util.o -lusb 12 13clean: 14 rm -f $(TARGETS) *.o *~ | 5TARGETS= bulk control 6CFLAGS+= -Wall 7 8all: $(TARGETS) 9 10bulk: bulk.o util.o 11 $(CC) $(CFLAGS) -o bulk bulk.o util.o -lusb 12 13control: control.o util.o 14 $(CC) $(CFLAGS) -o control control.o util.o -lusb 15 16clean: 17 rm -f $(TARGETS) *.o *~ |