summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8580c77..f48b8b2 100644
--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,12 @@ SRCS= \
ClockClick.cpp \
InternalClick.cpp \
BPMDetect.cpp \
+ Touchpad.cpp
HEADERS=$(SRCS:.cpp=.h)
OBJS=$(SRCS:.cpp=.o)
-CXXLIBS=$(shell pkg-config --libs alsa) -lreichwein -lfmt -lasound
CXX=clang++
ifeq ($(CXXFLAGS),)
@@ -32,6 +32,9 @@ endif
CXXFLAGS+=-std=c++20 -Wall -Wpedantic
# workaround for Debian dh_dwz:
CXXFLAGS+=-gdwarf-4
+CXXFLAGS+=-I/usr/include/libevdev-1.0
+
+CXXLIBS=$(shell pkg-config --libs alsa) -lreichwein -lfmt -lasound -levdev
$(TARGET): $(OBJS)
$(CXX) $^ -o $@ $(CXXLIBS)