BUNDLE DATA and BIN paths defined in the makefiles

This commit is contained in:
Paolo Marrone 2024-09-27 15:24:51 +02:00
parent b1bb7bfab6
commit 99d0d34c50
2 changed files with 9 additions and 0 deletions

View File

@ -68,6 +68,9 @@ endif
BUNDLE_DIR := $(BUNDLE_NAME).lv2 BUNDLE_DIR := $(BUNDLE_NAME).lv2
BUNDLE_DATA_PATH := build/$(BUNDLE_DIR)
BUNDLE_BIN_PATH := build/$(BUNDLE_DIR)
DLL_FILE := $(BUNDLE_NAME)$(DLL_SUFFIX) DLL_FILE := $(BUNDLE_NAME)$(DLL_SUFFIX)
C_SRCS := $(COMMON_DIR)/src/lv2.c $(C_SRCS_EXTRA) C_SRCS := $(COMMON_DIR)/src/lv2.c $(C_SRCS_EXTRA)

View File

@ -83,6 +83,9 @@ BUNDLE_DIR := $(BUNDLE_NAME).vst3
DLL_DIR := Contents/$(PLATFORM) DLL_DIR := Contents/$(PLATFORM)
DLL_FILE := $(DLL_DIR)/$(BUNDLE_NAME)$(DLL_SUFFIX) 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_SRCS := $(COMMON_DIR)/src/vst3.c $(C_SRCS_EXTRA)
C_OBJS := $(addprefix build/obj/, $(notdir $(C_SRCS:.c=.o))) 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: build/$(BUNDLE_DIR)/Contents build/$(BUNDLE_DIR)/$(DLL_DIR) build/obj:
mkdir -p $@ mkdir -p $@
${BUNDLE_DATA_PATH}:
mkdir -p $@
clean: clean:
rm -fr build rm -fr build