summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-06 00:15:32 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-06 00:15:32 +0100
commitb2f0cb564a296653c83b0a64c0f9a3de0a2f0d5e (patch)
tree5085292872631bc317afe29a71c1bb9d25fe2a78 /Makefile
parent7c40af4b4950a69e67c26ebb3c5568cbfbc3dda9 (diff)
Implement touchpad
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)