aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2019-08-07 17:25:24 +0200
committercbdev <cb@cbcdn.com>2019-08-07 17:25:24 +0200
commit47a5f9a21bd661f9161d6175ebd074962daee255 (patch)
tree8faa7b645cd719eb64a82e41f2bc536579ef265b /Makefile
parent20a6882a063404858588596bd3f12bdd9e53460a (diff)
downloadmidimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.gz
midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.bz2
midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.zip
Fix export visibilities for GCC
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b82d6d8..57fe089 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,7 @@ all: midimonster backends
full: midimonster backends-full
windows: midimonster.exe
+ $(MAKE) -C backends windows
backends:
$(MAKE) -C backends
@@ -38,15 +39,11 @@ midimonster: midimonster.c portability.h $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@
midimonster.exe: export CC = x86_64-w64-mingw32-gcc
-#midimonster.exe: CFLAGS += -Wno-format
midimonster.exe: CFLAGS += -DPLUGINS=$(PLUGINDIR_W32) -Wno-format
midimonster.exe: LDLIBS = -lws2_32
midimonster.exe: LDFLAGS += -Wl,--out-implib,libmmapi.a
midimonster.exe: midimonster.c portability.h $(OBJS)
$(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@
- # The windows build for backends requires the import library generated with the build,
- # so the backends can't be a prerequisite for the executable...
- $(MAKE) -C backends windows
clean:
$(RM) midimonster