1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2025-12-15 20:33:12 +00:00
This commit is contained in:
Landrovan
2017-04-22 15:44:19 +00:00
committed by GitHub
6 changed files with 146 additions and 2 deletions

View File

@@ -2,10 +2,10 @@ CC=g++
CFLAGS=-Wall -O2 -std=gnu++11
LIB?=hidapi
ifeq ($(LIB),libusb)
CPPFLAGS=-Dlibusb
CPPFLAGS=-Dlibusb -lpthread
LDFLAGS=-lusb-1.0
else
CPPFLAGS=-Dhidapi
CPPFLAGS=-Dhidapi -lpthread
LDFLAGS=-lhidapi-hidraw
endif
SYSTEMDDIR?=/usr/lib/systemd