From 2d1580ca53dcd6012c7bdb008a2342e352ef4dea Mon Sep 17 00:00:00 2001 From: Patrick Desaulniers Date: Mon, 1 Oct 2018 19:55:38 -0400 Subject: [PATCH] Tweak mkdir call --- Makefile.plugins.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.plugins.mk b/Makefile.plugins.mk index 8e2c63ad..aa69a91c 100644 --- a/Makefile.plugins.mk +++ b/Makefile.plugins.mk @@ -77,12 +77,12 @@ all: # Common $(BUILD_DIR)/%.c.o: %.c - -@mkdir -p "$(BUILD_DIR)/$(shell dirname $<)" + -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" @echo "Compiling $<" @$(CC) $< $(BUILD_C_FLAGS) -c -o $@ $(BUILD_DIR)/%.cpp.o: %.cpp - -@mkdir -p "$(BUILD_DIR)/$(shell dirname $<)" + -@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)" @echo "Compiling $<" @$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@