diff options
Diffstat (limited to 'lib/hub-ctrl/GNUmakefile')
-rw-r--r-- | lib/hub-ctrl/GNUmakefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hub-ctrl/GNUmakefile b/lib/hub-ctrl/GNUmakefile new file mode 100644 index 00000000..ac9e4a9b --- /dev/null +++ b/lib/hub-ctrl/GNUmakefile @@ -0,0 +1,6 @@ +CFLAGS ?= -Wall -O2 +CFLAGS += -std=gnu17 +CFLAGS += $(shell pkg-config --cflags libusb) +LDLIBS += $(shell pkg-config --libs libusb) + +hub-ctrl: hub-ctrl.o |