From 690a2dbc216abb110b37943e361b8c62b9f05591 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 18 Jun 2019 13:02:36 -0400 Subject: [PATCH] Create dep/ folder when dep.mk is included. --- dep.mk | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dep.mk b/dep.mk index d5374bf1..bad90ec7 100644 --- a/dep.mk +++ b/dep.mk @@ -2,6 +2,7 @@ include $(RACK_DIR)/arch.mk # The install location for `make install` DEP_LOCAL ?= dep +$(shell mkdir -p $(DEP_LOCAL)) DEP_PATH := $(abspath $(DEP_LOCAL)) DEP_FLAGS += -g -O3 -march=nocona @@ -45,11 +46,6 @@ $(DEPS): export LDFLAGS = $(DEP_LDFLAGS) dep: $(DEPS) -$(DEPS): | dep_create_dir - -dep_create_dir: - mkdir -p $(DEP_LOCAL) - cleandep: ifeq ($(DEP_LOCAL), .) $(error Refusing to clean cwd)