diff options
author | cbdev <cb@cbcdn.com> | 2020-02-23 18:20:12 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-02-23 18:20:12 +0100 |
commit | dd91621ccee033550312683293b5bf40c3599053 (patch) | |
tree | b56199bf974a4ff2e65397e4eb0f3a40c65d5740 /backends/Makefile | |
parent | b529f4d3a9efc59c6bec46e07ebf1a114b7a0831 (diff) | |
download | midimonster-dd91621ccee033550312683293b5bf40c3599053.tar.gz midimonster-dd91621ccee033550312683293b5bf40c3599053.tar.bz2 midimonster-dd91621ccee033550312683293b5bf40c3599053.zip |
Implement OpenPixelControl output
Diffstat (limited to 'backends/Makefile')
-rw-r--r-- | backends/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/backends/Makefile b/backends/Makefile index 656e6b6..191a495 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean full LINUX_BACKENDS = midi.so evdev.so -WINDOWS_BACKENDS = artnet.dll osc.dll loopback.dll sacn.dll maweb.dll winmidi.dll -BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so maweb.so jack.so +WINDOWS_BACKENDS = artnet.dll osc.dll loopback.dll sacn.dll maweb.dll winmidi.dll openpixelcontrol.dll +BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so maweb.so jack.so openpixelcontrol.so OPTIONAL_BACKENDS = ola.so BACKEND_LIB = libmmbackend.o @@ -36,6 +36,10 @@ sacn.so: ADDITIONAL_OBJS += $(BACKEND_LIB) sacn.dll: ADDITIONAL_OBJS += $(BACKEND_LIB) sacn.dll: LDLIBS += -lws2_32 +openpixelcontrol.so: ADDITIONAL_OBJS += $(BACKEND_LIB) +openpixelcontrol.dll: ADDITIONAL_OBJS += $(BACKEND_LIB) +openpixelcontrol.dll: LDLIBS += -lws2_32 + maweb.so: ADDITIONAL_OBJS += $(BACKEND_LIB) maweb.so: LDLIBS = -lssl maweb.dll: ADDITIONAL_OBJS += $(BACKEND_LIB) @@ -59,6 +63,9 @@ lua.so: LDLIBS += $(shell pkg-config --libs lua53 || pkg-config --libs lua5.3 || lua.dll: CFLAGS += $(shell pkg-config --cflags lua53 || pkg-config --cflags lua5.3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for lua53\"") lua.dll: LDLIBS += -L../libs -llua53 +python.so: CFLAGS += $(shell pkg-config --cflags python3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") +python.so: CFLAGS += $(shell pkg-config --libs python3 || echo "-DBUILD_ERROR=\"Missing pkg-config data for python3\"") + %.so :: %.c %.h $(BACKEND_LIB) $(CC) $(CFLAGS) $(LDLIBS) $< $(ADDITIONAL_OBJS) -o $@ $(LDFLAGS) |