summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 49a36a1..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-TYPE = mdaPiano
-ifeq ($(TYPE),mdaPiano)
- BUILD_TYPE = PIANO
-else
- BUILD_TYPE = EPIANO
-endif
-
-BUNDLE = lv2-$(TYPE).lv2
-INSTALL_DIR = /usr/local/lib/lv2
-
-SOURCES = *.cpp
-FLAGS = -fPIC -DPIC -O $(WARNINGS) -D$(BUILD_TYPE)
-WARNINGS = -g -Wall -pedantic
-
-$(BUNDLE): $(TYPE)/manifest.ttl $(TYPE)/$(TYPE).ttl $(TYPE).so $(TYPE)/presets $(TYPE)/data/*.raw
- rm -rf $(BUNDLE)
- mkdir $(BUNDLE)
- cp -r $^ $(BUNDLE)
-
-$(TYPE).so: $(SOURCES) ports.peg
- $(CXX) $(FLAGS) -shared $(SOURCES) `pkg-config --cflags --libs lvtk-plugin-1` -o $@
-
-ports.peg: $(TYPE)/$(TYPE).ttl
- ttl2c $^ ports.peg
-
-install: $(BUNDLE)
- mkdir -p $(INSTALL_DIR)
- rm -rf $(INSTALL_DIR)/$(BUNDLE)
- cp -R $(BUNDLE) $(INSTALL_DIR)
-
-clean:
- rm -rf $(BUNDLE) $(TYPE).so ports.peg