Makefile: Add a rule to generate a GNU style Changelog
[kinect-audio-setup.git] / kinect_upload_fw / Makefile
1 CFLAGS  += $(shell pkg-config --cflags libusb-1.0)
2 LDFLAGS += $(shell pkg-config --libs libusb-1.0)
3
4 PREFIX  ?= /usr/local
5 bindir  = $(PREFIX)/sbin
6
7 kinect_upload_fw: kinect_upload_fw.o
8
9 install: kinect_upload_fw
10         install -d $(DESTDIR)$(bindir)
11         install -m 755 kinect_upload_fw $(DESTDIR)$(bindir)
12
13 clean:
14         rm -rf *~ *.o kinect_upload_fw