diff options
author | cbdev <cb@cbcdn.com> | 2019-07-06 17:25:12 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-07-06 17:25:12 +0200 |
commit | b618c4a6b74a52f830ca53029e1cc680d56a2501 (patch) | |
tree | 6da5459b45db4448936cb8f0225490b9f5135b1e /backends/Makefile | |
parent | ee75bee08b8fb280fc1d76e8635cf29c576835da (diff) | |
download | midimonster-b618c4a6b74a52f830ca53029e1cc680d56a2501.tar.gz midimonster-b618c4a6b74a52f830ca53029e1cc680d56a2501.tar.bz2 midimonster-b618c4a6b74a52f830ca53029e1cc680d56a2501.zip |
Implement Lua backend
Diffstat (limited to 'backends/Makefile')
-rw-r--r-- | backends/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/Makefile b/backends/Makefile index c11de56..fe88669 100644 --- a/backends/Makefile +++ b/backends/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean full OPTIONAL_BACKENDS = ola.so LINUX_BACKENDS = midi.so evdev.so -BACKENDS = artnet.so osc.so loopback.so sacn.so +BACKENDS = artnet.so osc.so loopback.so sacn.so lua.so BACKEND_LIB = libmmbackend.o SYSTEM := $(shell uname -s) @@ -27,6 +27,8 @@ evdev.so: CFLAGS += $(shell pkg-config --cflags libevdev) evdev.so: LDLIBS = $(shell pkg-config --libs libevdev) ola.so: LDLIBS = -lola ola.so: CPPFLAGS += -Wno-write-strings +lua.so: CFLAGS += $(shell pkg-config --cflags lua5.3) +lua.so: LDLIBS += $(shell pkg-config --libs lua5.3) %.so :: %.c %.h $(BACKEND_LIB) $(CC) $(CFLAGS) $(LDLIBS) $< $(ADDITIONAL_OBJS) -o $@ $(LDFLAGS) |