aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-07-25 09:12:53 +0200
committercbdev <cb@cbcdn.com>2021-07-25 09:12:53 +0200
commitaf27b3e9640421c8c5c01e358a89b4a797242f17 (patch)
treee6990fa200f8994cc83e8676935804ff909230e4 /Makefile
parentcafe31b953a372f43382372061b0ce3fb7d03abb (diff)
downloadmidimonster-af27b3e9640421c8c5c01e358a89b4a797242f17.tar.gz
midimonster-af27b3e9640421c8c5c01e358a89b4a797242f17.tar.bz2
midimonster-af27b3e9640421c8c5c01e358a89b4a797242f17.zip
Move LDLIBS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 674d42c..cc73718 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,6 @@ CFLAGS += -fvisibility=hidden
RCCFLAGS += -I./
core/%: CFLAGS += -I./
-midimonster: LDLIBS = -ldl
# Replace version string with current git-describe if possible
ifneq "$(GITVERSION)" ""
CFLAGS += -DMIDIMONSTER_VERSION=\"$(GITVERSION)\"
@@ -56,6 +55,7 @@ backends-full:
$(MAKE) -C backends full
# This rule can not be the default rule because OSX the target prereqs are not exactly the build prereqs
+midimonster: LDLIBS = -ldl
midimonster: midimonster.c portability.h $(CORE_OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $< $(CORE_OBJS) $(LDLIBS) -o $@