diff --git a/templates/lv2-make/Makefile b/templates/lv2-make/Makefile index 08f8f75..90fd429 100644 --- a/templates/lv2-make/Makefile +++ b/templates/lv2-make/Makefile @@ -68,6 +68,9 @@ endif BUNDLE_DIR := $(BUNDLE_NAME).lv2 +BUNDLE_DATA_PATH := build/$(BUNDLE_DIR) +BUNDLE_BIN_PATH := build/$(BUNDLE_DIR) + DLL_FILE := $(BUNDLE_NAME)$(DLL_SUFFIX) C_SRCS := $(COMMON_DIR)/src/lv2.c $(C_SRCS_EXTRA) diff --git a/templates/vst3-make/Makefile b/templates/vst3-make/Makefile index b82be82..a467406 100644 --- a/templates/vst3-make/Makefile +++ b/templates/vst3-make/Makefile @@ -83,6 +83,9 @@ BUNDLE_DIR := $(BUNDLE_NAME).vst3 DLL_DIR := Contents/$(PLATFORM) DLL_FILE := $(DLL_DIR)/$(BUNDLE_NAME)$(DLL_SUFFIX) +BUNDLE_DATA_PATH := build/$(BUNDLE_DIR)/Contents/Resources +BUNDLE_BIN_PATH := build/$(BUNDLE_DIR)/$(DLL_DIR) + C_SRCS := $(COMMON_DIR)/src/vst3.c $(C_SRCS_EXTRA) C_OBJS := $(addprefix build/obj/, $(notdir $(C_SRCS:.c=.o))) @@ -121,6 +124,9 @@ endif build/$(BUNDLE_DIR)/Contents build/$(BUNDLE_DIR)/$(DLL_DIR) build/obj: mkdir -p $@ +${BUNDLE_DATA_PATH}: + mkdir -p $@ + clean: rm -fr build