diff --git a/dep/glfw b/dep/glfw index 617a322b..682f1cf2 160000 --- a/dep/glfw +++ b/dep/glfw @@ -1 +1 @@ -Subproject commit 617a322bd88c1b27f1fd7d05dc3723b6c5461a68 +Subproject commit 682f1cf203707f21c2eed4fa3f89c23c52accc49 diff --git a/dep/nanosvg b/dep/nanosvg index 06c1f0f3..9a74da4d 160000 --- a/dep/nanosvg +++ b/dep/nanosvg @@ -1 +1 @@ -Subproject commit 06c1f0f3bb041d69a73bb74067d063a700215b0e +Subproject commit 9a74da4db5ac74083e444010d75114658581b9c7 diff --git a/plugin.mk b/plugin.mk index 3903c799..b66a0632 100644 --- a/plugin.mk +++ b/plugin.mk @@ -18,16 +18,19 @@ include $(RACK_DIR)/arch.mk ifeq ($(ARCH), lin) LDFLAGS += -shared TARGET := plugin.so + RACK_USER_DIR ?= $(HOME)/.Rack endif ifeq ($(ARCH), mac) LDFLAGS += -shared -undefined dynamic_lookup TARGET := plugin.dylib + RACK_USER_DIR ?= $(HOME)/Documents/Rack endif ifeq ($(ARCH), win) LDFLAGS += -shared -L$(RACK_DIR) -lRack TARGET := plugin.dll + RACK_USER_DIR ?= $(USERPROFILE)/Documents/Rack endif @@ -57,6 +60,8 @@ endif # Create ZIP package cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG) +install: dist + cp dist/$(SLUG)-$(VERSION)-$(ARCH).zip $(RACK_USER_DIR)/plugins/ .PHONY: clean dist .DEFAULT_GOAL := all