diff options
author | cbdev <cb@cbcdn.com> | 2019-08-07 17:25:24 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-08-07 17:25:24 +0200 |
commit | 47a5f9a21bd661f9161d6175ebd074962daee255 (patch) | |
tree | 8faa7b645cd719eb64a82e41f2bc536579ef265b /backends | |
parent | 20a6882a063404858588596bd3f12bdd9e53460a (diff) | |
download | midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.gz midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.tar.bz2 midimonster-47a5f9a21bd661f9161d6175ebd074962daee255.zip |
Fix export visibilities for GCC
Diffstat (limited to 'backends')
-rw-r--r-- | backends/Makefile | 10 | ||||
-rw-r--r-- | backends/midi.c | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/backends/Makefile b/backends/Makefile index 2374df0..3308ef0 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -1,8 +1,8 @@ .PHONY: all clean full -OPTIONAL_BACKENDS = ola.so -WINDOWS_BACKENDS = loopback.dll artnet.dll osc.dll sacn.dll LINUX_BACKENDS = midi.so evdev.so -BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so +WINDOWS_BACKENDS = artnet.dll osc.dll loopback.dll sacn.dll maweb.dll +BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so maweb.so +OPTIONAL_BACKENDS = ola.so BACKEND_LIB = libmmbackend.o SYSTEM := $(shell uname -s) @@ -32,6 +32,10 @@ sacn.so: ADDITIONAL_OBJS += $(BACKEND_LIB) sacn.dll: ADDITIONAL_OBJS += $(BACKEND_LIB) sacn.dll: LDLIBS += -lws2_32 +maweb.so: ADDITIONAL_OBJS += $(BACKEND_LIB) +maweb.dll: ADDITIONAL_OBJS += $(BACKEND_LIB) +maweb.dll: LDLIBS += -lws2_32 + midi.so: LDLIBS = -lasound evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev) evdev.so: LDLIBS = $(shell pkg-config --libs libevdev) diff --git a/backends/midi.c b/backends/midi.c index c1480c0..9c6ba80 100644 --- a/backends/midi.c +++ b/backends/midi.c @@ -14,12 +14,6 @@ typedef union { uint64_t label; } midi_channel_ident; -/* - * TODO - * Optionally send note-off messages - * Optionally send updates as after-touch - */ - enum /*_midi_channel_type*/ { none = 0, note, |