From 5b711987a60706db4c0266fee90d08382259a2f8 Mon Sep 17 00:00:00 2001 From: Filipianosol Date: Wed, 4 Nov 2020 03:12:48 +0100 Subject: [PATCH] Fix macOS external data credit to @enigma9o7 for finding out that -n is not read correctly on macOS --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 85eaaec..b09483c 100644 --- a/Makefile +++ b/Makefile @@ -706,7 +706,11 @@ res: $(BASEPACK_PATH) # prepares the basepack.lst $(BASEPACK_LST): $(EXE) @mkdir -p $(BUILD_DIR)/$(BASEDIR) - @echo -n > $(BASEPACK_LST) + ifeq ($(HOST_OS),Darwin) + @echo > $(BASEPACK_LST) + else + @echo -n > $(BASEPACK_LST) + endif @echo "$(BUILD_DIR)/sound/bank_sets sound/bank_sets" >> $(BASEPACK_LST) @echo "$(BUILD_DIR)/sound/sequences.bin sound/sequences.bin" >> $(BASEPACK_LST) @echo "$(BUILD_DIR)/sound/sound_data.ctl sound/sound_data.ctl" >> $(BASEPACK_LST) @@ -1007,4 +1011,4 @@ MAKEFLAGS += --no-builtin-rules -include $(DEP_FILES) -print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true \ No newline at end of file +print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true