Skip to content

Commit 690a2db

Browse files
committed
Create dep/ folder when dep.mk is included.
1 parent 5a5fbb2 commit 690a2db

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dep.mk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include $(RACK_DIR)/arch.mk
22

33
# The install location for `make install`
44
DEP_LOCAL ?= dep
5+
$(shell mkdir -p $(DEP_LOCAL))
56
DEP_PATH := $(abspath $(DEP_LOCAL))
67

78
DEP_FLAGS += -g -O3 -march=nocona
@@ -45,11 +46,6 @@ $(DEPS): export LDFLAGS = $(DEP_LDFLAGS)
4546

4647
dep: $(DEPS)
4748

48-
$(DEPS): | dep_create_dir
49-
50-
dep_create_dir:
51-
mkdir -p $(DEP_LOCAL)
52-
5349
cleandep:
5450
ifeq ($(DEP_LOCAL), .)
5551
$(error Refusing to clean cwd)

0 commit comments

Comments
 (0)