From 6eb50a309b0de1b5c634bb027b9ee4d3ef87c739 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Tue, 30 Jan 2024 18:02:41 +0100 Subject: [PATCH] fixed lv2 and vst3 on windows --- templates/lv2-make/Makefile | 6 ++---- templates/vst3-make/Makefile | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/templates/lv2-make/Makefile b/templates/lv2-make/Makefile index 5df7f86..41cbacd 100644 --- a/templates/lv2-make/Makefile +++ b/templates/lv2-make/Makefile @@ -2,10 +2,8 @@ include vars.mk ifeq ($(OS), Windows_NT) DLL_SUFFIX = .dll - COMMONPROGRAMFILES = $(shell echo '${COMMONPROGRAMFILES}' | sed 's:\\:/:g') - APPDATA = $(shell echo '${APPDATA}' | sed 's:\\:/:g') - LV2DIR = ${COMMONPROGRAMFILES}/LV2 - LV2DIR_USER = ${APPDATA}/LV2 + LV2DIR = $(shell echo '${COMMONPROGRAMFILES}' | sed 's:\\:/:g')/LV2 + LV2DIR_USER = $(shell echo '${APPDATA}' | sed 's:\\:/:g')/LV2 CC = gcc else UNAME_S = $(shell uname -s) diff --git a/templates/vst3-make/Makefile b/templates/vst3-make/Makefile index 7e47ea9..838521b 100644 --- a/templates/vst3-make/Makefile +++ b/templates/vst3-make/Makefile @@ -3,10 +3,8 @@ include vars.mk ifeq ($(OS), Windows_NT) DLL_SUFFIX = .vst3 PLATFORM = x86_64-win - COMMONPROGRAMFILES = $(shell echo '${COMMONPROGRAMFILES}' | sed 's:\\:/:g') - LOCALAPPDATA = $(shell echo '${LOCALAPPDATA}' | sed 's:\\:/:g') - VST3DIR = ${COMMONPROGRAMFILES}/VST3 - VST3DIR_USER = ${LOCALAPPDATA}/VST3 + VST3DIR = $(shell echo '${COMMONPROGRAMFILES}' | sed 's:\\:/:g')/VST3 + VST3DIR_USER = $(shell echo '${LOCALAPPDATA}' | sed 's:\\:/:g')/Programs/Common/VST3 CC = gcc else UNAME_S = $(shell uname -s)