From 84e9060c6ae833a9e741acaf87a69f8eb3ea0f98 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 21 Nov 2017 07:10:18 -0500 Subject: [PATCH] Windows make dist fix --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 037f4dab..67ab5f74 100644 --- a/Makefile +++ b/Makefile @@ -58,11 +58,17 @@ ifeq ($(ARCH), win) endif debug: $(TARGET) +ifeq ($(ARCH), lin) + LD_LIBRARY_PATH=dep/lib gdb -ex run ./Rack +endif ifeq ($(ARCH), mac) DYLD_FALLBACK_LIBRARY_PATH=dep/lib gdb -ex run ./Rack -else - LD_LIBRARY_PATH=dep/lib gdb -ex run ./Rack endif +ifeq ($(ARCH), win) + # TODO get rid of the mingw64 path + env PATH=dep/bin:/mingw64/bin gdb -ex run ./Rack +endif + clean: rm -rfv $(TARGET) build dist @@ -137,7 +143,7 @@ ifeq ($(ARCH), win) cp dep/bin/librtmidi-4.dll dist/Rack/ cp dep/bin/libsamplerate-0.dll dist/Rack/ cp dep/bin/libzip-5.dll dist/Rack/ - cp dep/bin/librtaudio-6.dll dist/Rack/ + cp dep/bin/librtaudio.dll dist/Rack/ mkdir -p dist/Rack/plugins cp -R plugins/Fundamental/dist/Fundamental dist/Rack/plugins/ # Make ZIP