aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristoph Scholtes <cschol2112@gmail.com>2018-02-22 00:47:20 +0000
committers-ol <s-ol@users.noreply.github.com>2018-02-22 12:27:48 +0000
commit3fd57784f3e0cd4dba0acdba45900d07694eabce (patch)
tree5916b6e5b6d4400419abe0b79ef34203a8fbca1b /Makefile
parentsmaller pannels and VC modulo gain (diff)
downloadvcvmods-3fd57784f3e0cd4dba0acdba45900d07694eabce.tar.gz
vcvmods-3fd57784f3e0cd4dba0acdba45900d07694eabce.zip
Update to Rack API v0.6.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 97523e6..0b336dd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+SLUG = s-ol
+VERSION = 0.6.0
# FLAGS will be passed to both the C and C++ compiler
FLAGS +=
@@ -8,23 +10,9 @@ CXXFLAGS +=
# Static libraries are fine.
LDFLAGS +=
-# Add .cpp and .c files to the build
-SOURCES = $(wildcard src/*.cpp)
+SOURCES += $(wildcard src/*.cpp)
+DISTRIBUTABLES += $(wildcard LICENSE*) res
-# Must include the VCV plugin Makefile framework
-include ../../plugin.mk
-
-
-# Convenience target for including files in the distributable release
-DIST_NAME = solmods
-.PHONY: dist
-dist: all
-ifndef VERSION
- $(error VERSION must be defined when making distributables)
-endif
- mkdir -p dist/$(DIST_NAME)
- cp LICENSE* README* dist/$(DIST_NAME)/
- cp $(TARGET) dist/$(DIST_NAME)/
- cp -R res dist/$(DIST_NAME)/
- cd dist && zip -5 -r $(DIST_NAME)-$(VERSION)-$(ARCH).zip $(DIST_NAME)
+RACK_DIR ?= ../..
+include $(RACK_DIR)/plugin.mk