aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index 3ab55a1..d759a7c 100644
--- a/makefile
+++ b/makefile
@@ -9,7 +9,8 @@ CFLAGS ?= -g -Wall
%.so: LDFLAGS += -shared
midimonster: LDLIBS = -ldl
-midimonster: CFLAGS += -rdynamic -DPLUGINS=$(PLUGINDIR)
+midimonster: CFLAGS += -DPLUGINS=$(PLUGINDIR)
+midimonster: LDFLAGS += -Wl,-export-dynamic
midi.so: LDLIBS = -lasound
evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev)
evdev.so: LDLIBS = $(shell pkg-config --libs libevdev)
@@ -20,7 +21,7 @@ evdev.so: LDLIBS = $(shell pkg-config --libs libevdev)
all: midimonster $(BACKENDS)
-midimonster: midimonster.h $(OBJS)
+midimonster: midimonster.c $(OBJS)
clean:
$(RM) midimonster