|
@@ -5,17 +5,17 @@ BASE_DIR = $(shell pwd)
|
|
|
REBAR = $(BASE_DIR)/rebar
|
|
REBAR = $(BASE_DIR)/rebar
|
|
|
DIST = $(BASE_DIR)/rel/$(APP)
|
|
DIST = $(BASE_DIR)/rel/$(APP)
|
|
|
|
|
|
|
|
-all: compile
|
|
|
|
|
|
|
+all: submods compile
|
|
|
|
|
+
|
|
|
|
|
+submods:
|
|
|
|
|
+ @git submodule update --init
|
|
|
|
|
|
|
|
compile: deps
|
|
compile: deps
|
|
|
@$(REBAR) compile
|
|
@$(REBAR) compile
|
|
|
|
|
|
|
|
-deps: submods
|
|
|
|
|
|
|
+deps:
|
|
|
@$(REBAR) get-deps
|
|
@$(REBAR) get-deps
|
|
|
|
|
|
|
|
-submods:
|
|
|
|
|
- @git submodule update --init
|
|
|
|
|
-
|
|
|
|
|
update-deps:
|
|
update-deps:
|
|
|
@$(REBAR) update-deps
|
|
@$(REBAR) update-deps
|
|
|
|
|
|