From 40144f7ba676e25a6debe53da820342b0b8b1c64 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 9 Mar 2018 21:14:51 -0500 Subject: [PATCH] Fix windows PATH for make run and make debug --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5d0dfbe4..751f41d6 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,7 @@ ifeq ($(ARCH), mac) DYLD_FALLBACK_LIBRARY_PATH=dep/lib ./$< endif ifeq ($(ARCH), win) - # TODO get rid of the mingw64 path - env PATH=${PATH}:dep/bin ./$< + env PATH="$(PATH)":dep/bin ./$< endif debug: $(TARGET) @@ -72,7 +71,7 @@ ifeq ($(ARCH), mac) DYLD_FALLBACK_LIBRARY_PATH=dep/lib gdb -ex run ./Rack endif ifeq ($(ARCH), win) - env PATH=${PATH}:dep/bin gdb -ex run ./Rack + env PATH="$(PATH)":dep/bin gdb -ex run ./Rack endif perf: $(TARGET)