Browse Source

Tweak mkdir call

pull/78/head
Patrick Desaulniers Filipe Coelho <falktx@falktx.com> 4 years ago
parent
commit
78988eeeb0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile.plugins.mk

+ 2
- 2
Makefile.plugins.mk View File

@@ -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 $@



Loading…
Cancel
Save