Ery Lee 10 سال پیش
والد
کامیت
0232c636ad
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      Makefile

+ 5 - 5
Makefile

@@ -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