fix compilation issues

This commit is contained in:
Armin 2026-07-24 02:59:31 +02:00
commit c06aa7b04f
4 changed files with 3335 additions and 25 deletions

View file

@ -14,7 +14,7 @@ VST3_DST := $(HOME)/Library/Audio/Plug-Ins/VST3/$(PLUGIN_NAME).vst3
AU_DST := $(HOME)/Library/Audio/Plug-Ins/Components/$(PLUGIN_NAME).component
# ---------- phony targets ----------
.PHONY: all install uninstall clean help configure build build-au build-all
.PHONY: all install uninstall clean clear-cache help configure build build-au build-all
all: install
@ -32,7 +32,11 @@ build-au: configure
build-all: configure
cmake --build $(BUILD_DIR) --target JustASample_All -j$(NPROC)
FL_CACHE := $(HOME)/Library/Caches/com.image-line.flstudio
install: install-vst3 install-au
@rm -rf "$(FL_CACHE)"
@echo "Cleared FL Studio plugin cache"
install-vst3: build
@mkdir -p "$(VST3_DST)"
@ -50,10 +54,16 @@ install-all: build-all install-vst3 install-au
uninstall:
rm -rf "$(VST3_DST)" "$(AU_DST)"
@echo "Removed plugin from ~/Library/Audio/Plug-Ins/"
@rm -rf "$(FL_CACHE)"
@echo "Removed plugin and cleared FL Studio cache"
clean:
rm -rf $(BUILD_DIR)
@rm -rf "$(FL_CACHE)"
clear-cache:
@rm -rf "$(FL_CACHE)"
@echo "Cleared FL Studio plugin cache"
help:
@echo "Targets:"
@ -66,5 +76,6 @@ help:
@echo " make install-au - install AU only"
@echo " make install-all - install all formats"
@echo " make uninstall - remove all installed copies"
@echo " make clean - remove build directory"
@echo " make clean - remove build directory and FL Studio cache"
@echo " make clear-cache - clear FL Studio plugin cache"
@echo " make help - show this message"