Makefile: add libudev since this library is used to retrieve vid, pid, descriptor, bus and addr from a device node

This commit is contained in:
Gwenhael Goavec-Merou
2019-11-19 09:04:06 +01:00
parent 711833d034
commit 16806cbc4f
+2 -2
View File
@@ -1,8 +1,8 @@
EXEC_NAME=cycloader
SRC= $(wildcard *.cpp)
OBJS= $(SRC:.cpp=.o)
LDFLAGS=-lm -g -Wall -std=c++11 $(shell pkg-config --libs libftdipp1)
CXXFLAGS=-g -Wall -std=c++11 $(shell pkg-config --cflags libftdipp1)
LDFLAGS=-lm -g -Wall -std=c++11 $(shell pkg-config --libs libftdipp1 libudev)
CXXFLAGS=-g -Wall -std=c++11 $(shell pkg-config --cflags libftdipp1 libudev)
all:$(EXEC_NAME)