path: root/Makefile
diff options
authorHarald Welte <>2017-12-12 16:30:53 +0100
committerHarald Welte <>2017-12-12 16:30:53 +0100
commit6807982106c0e3ec1837421c0e69e8531a8c3b28 (patch)
tree70eb3c082e43f8491dd7634271766b99ef383241 /Makefile
parent4c5ef5b3e1bb7775386a6c6c2e9b00b3456c59d8 (diff)
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.
Diffstat (limited to 'Makefile')
1 files changed, 5 insertions, 1 deletions
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
+ $(MAKE) -C deps
compile: $(foreach dir,$(SUBDIRS),$(dir)/compile)
clean: $(foreach dir,$(SUBDIRS),$(dir)/clean)