From 978cfdfda1ab427b67ebb32eaa1ea2c07a711b41 Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 2 Mar 2018 03:25:08 +0100 Subject: Makefile variable additions need to be target-specific --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3