From 58075f0b3a3d88601400a8661ed953fe45e94558 Mon Sep 17 00:00:00 2001 From: Stefano D'Angelo Date: Wed, 31 Jan 2024 11:39:53 +0100 Subject: [PATCH] fix cmd for macos --- templates/cmd-make/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cmd-make/Makefile b/templates/cmd-make/Makefile index 866b2df..4a92b05 100644 --- a/templates/cmd-make/Makefile +++ b/templates/cmd-make/Makefile @@ -26,10 +26,10 @@ ifeq ($(UNAME_S), Darwin) build/${PROGRAM}: build/tmp/x86_64 build/tmp/arm64 lipo -create -output $@ $^ -build/tmp/x86_64: src/main.c src/data.h src/plugin.h ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c | build +build/tmp/x86_64: src/main.c src/data.h src/plugin.h ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c | build/tmp ${CC} src/main.c ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c -o $@ ${CFLAGS_ALL} ${LDFLAGS_ALL} -arch x86_64 -build/tmp/arm64: src/main.c src/data.h src/plugin.h ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c | build +build/tmp/arm64: src/main.c src/data.h src/plugin.h ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c | build/tmp ${CC} src/main.c ${TINYWAV_DIR}/tinywav.c ${MIDI_PARSER_DIR}/src/midi-parser.c -o $@ ${CFLAGS_ALL} ${LDFLAGS_ALL} -arch arm64 build/tmp: