aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2018-03-02 03:25:08 +0100
committercbdev <cb@cbcdn.com>2018-03-02 03:25:08 +0100
commit978cfdfda1ab427b67ebb32eaa1ea2c07a711b41 (patch)
tree91e5f479208925b77e2ba653b7b8e67980150bf2 /Makefile
parent2dfc564edc0c89c4a8de7e384806aae5d593426d (diff)
downloadmidimonster-978cfdfda1ab427b67ebb32eaa1ea2c07a711b41.tar.gz
midimonster-978cfdfda1ab427b67ebb32eaa1ea2c07a711b41.tar.bz2
midimonster-978cfdfda1ab427b67ebb32eaa1ea2c07a711b41.zip
Makefile variable additions need to be target-specific
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4a85eab..66130c4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,10 @@ OBJS = config.o backend.o plugin.o
PLUGINDIR = "\"./backends/\""
CFLAGS ?= -g -Wall
-LDLIBS = -ldl
-CFLAGS += -DPLUGINS=$(PLUGINDIR)
#CFLAGS += -DDEBUG
-LDFLAGS += -Wl,-export-dynamic
+midimonster: LDLIBS = -ldl
+midimonster: CFLAGS += -DPLUGINS=$(PLUGINDIR)
+midimonster: LDFLAGS += -Wl,-export-dynamic
all: midimonster backends