From 16806cbc4fdbf87d70b5e566caf2ed5ab00371fa Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Tue, 19 Nov 2019 09:04:06 +0100 Subject: [PATCH] Makefile: add libudev since this library is used to retrieve vid, pid, descriptor, bus and addr from a device node --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 28737ac..f4f63a9 100644 --- a/Makefile +++ b/Makefile @@ -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)