From b885b869cb9a0c73ec6a6b5b285850fee0ec8910 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 18 Aug 2023 15:23:50 +0900 Subject: [PATCH] Refactor wasm_build/Makefile --- wasm_build/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasm_build/Makefile b/wasm_build/Makefile index 96c8a4e..92d1f8f 100644 --- a/wasm_build/Makefile +++ b/wasm_build/Makefile @@ -57,5 +57,5 @@ format: .SECONDEXPANSION: ${OBJDIR}/%.cc.o: $$(subst PREVDIR,..,%.cc) ${HEADERS} - @mkdir -p "${OBJDIR}/$(dir $(subst ..,PREVDIR,$<))" + @mkdir -p "$(dir $@)" ${CXX} -std=c++20 -I../wasm_include -c ${OTHER_FLAGS} -o $@ $<