aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2018-02-18 19:12:47 +0100
committercbdev <cb@cbcdn.com>2018-02-18 19:12:47 +0100
commiteb943d3547520e7ee0c511a599e69355f516b9ab (patch)
tree12d0e3608accf5f11c5cbb65eb01da348149ce53 /makefile
parent65ae3ef13b91e625ec75108f2c354943b624b341 (diff)
downloadmidimonster-eb943d3547520e7ee0c511a599e69355f516b9ab.tar.gz
midimonster-eb943d3547520e7ee0c511a599e69355f516b9ab.tar.bz2
midimonster-eb943d3547520e7ee0c511a599e69355f516b9ab.zip
Implement evdev input via libevdev
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefile b/makefile
index 493c690..3ab55a1 100644
--- a/makefile
+++ b/makefile
@@ -11,6 +11,8 @@ CFLAGS ?= -g -Wall
midimonster: LDLIBS = -ldl
midimonster: CFLAGS += -rdynamic -DPLUGINS=$(PLUGINDIR)
midi.so: LDLIBS = -lasound
+evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev)
+evdev.so: LDLIBS = $(shell pkg-config --libs libevdev)
%.so :: %.c %.h