1 CFLAGS += $(shell pkg-config --cflags libusb-1.0)
2 LDFLAGS += $(shell pkg-config --libs libusb-1.0)
5 bindir = $(PREFIX)/sbin
7 kinect_upload_fw: kinect_upload_fw.o
9 install: kinect_upload_fw
10 install -d $(DESTDIR)$(bindir)
11 install -m 755 kinect_upload_fw $(DESTDIR)$(bindir)
14 rm -rf *~ *.o kinect_upload_fw