From b2f0cb564a296653c83b0a64c0f9a3de0a2f0d5e Mon Sep 17 00:00:00 2001
From: Roland Reichwein <mail@reichwein.it>
Date: Mon, 6 Jan 2025 00:15:32 +0100
Subject: Implement touchpad

---
 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'Makefile')

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)
-- 
cgit v1.2.3