From 6807982106c0e3ec1837421c0e69e8531a8c3b28 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 12 Dec 2017 16:30:53 +0100 Subject: Makefile: clone dependencies into 'deps' folder We used to rely on out-of-tree git clones to be prepared by the user. This commit changes the system to make sure we clone all git repos we depend upon into the 'deps' folder, and then setup the symlinks to that folder. As a result, we should be able to support self-contained builds using the makefiles in this repo. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e0171292..6a470a0d 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,11 @@ PARALLEL_MAKE:=-j4 # make bsc/all # make bsc (equivalent to bsc/all) -default: all +default: deps all + +.PHONY: deps +deps: + $(MAKE) -C deps compile: $(foreach dir,$(SUBDIRS),$(dir)/compile) clean: $(foreach dir,$(SUBDIRS),$(dir)/clean) -- cgit v1.2.3