diff --git a/Makefile b/Makefile index 30a84d096..49ff57b9f 100644 --- a/Makefile +++ b/Makefile @@ -5,17 +5,17 @@ BASE_DIR = $(shell pwd) REBAR = $(BASE_DIR)/rebar DIST = $(BASE_DIR)/rel/$(APP) -all: compile +all: submods compile + +submods: + @git submodule update --init compile: deps @$(REBAR) compile -deps: submods +deps: @$(REBAR) get-deps -submods: - @git submodule update --init - update-deps: @$(REBAR) update-deps