summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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