Feng 10 years atrás
parent
commit
8ee8e00583
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Makefile

+ 4 - 4
Makefile

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