Browse Source

Create dep/ folder when dep.mk is included.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
690a2dbc21
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      dep.mk

+ 1
- 5
dep.mk View File

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


Loading…
Cancel
Save