summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-04-17 19:51:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-04-17 19:51:34 +0200
commitfb8588d8a0013b8da78b796f84ddcccf2bc9238e (patch)
tree0333d12df5a9e813904e4f5b4a42de7d4dba7443 /Makefile
parent34bfc5046bd297311a38dace8914c51905ca9d2e (diff)
Added ttlgen dynamic ttl manifest generator for LV2 plugins.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 22e18ed..b2a5055 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
PLUGIN_NAME=plugintest
PLUGIN_URI=http://example.org/plugintest
-CXXFLAGS = -DX11 -I. -fPIC -std=c++11 -Wall -shared -Wl,--no-undefined
+CXXFLAGS = -DX11 -I. -fPIC -std=c++11 -Wall -shared -Wl,--no-undefined \
+ -fvisibility=hidden
LV2_CXXFLAGS = -DLV2 -g -Werror -DLV2_PLUGIN_URI=\"$(PLUGIN_URI)\"
LV2_SRC = \
@@ -61,3 +62,7 @@ test: test-lv2 test-vst
all: $(PLUGIN_NAME)_lv2.so $(PLUGIN_NAME)_vst.so
clean: clean-lv2 clean-vst
+
+ttlgen: ttlgen.cc $(PLUGIN_NAME)_lv2.so
+ g++ -I. -std=c++11 ttlgen.cc -ldl -o ttlgen
+ ./ttlgen ./$(PLUGIN_NAME)_lv2.so manifest.ttl