Просмотр исходного кода

Get dependencies on 'make all'

Daniel Luna 12 лет назад
Родитель
Сommit
6a13adc6d5
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Makefile

+ 3 - 1
Makefile

@@ -25,13 +25,15 @@ REBAR=$(shell which rebar || echo ./rebar)
 
 DIRS=src
 
-all: compile
+all: deps compile
 
 check: compile dialyzer
 
 compile:
 	$(REBAR) compile
 
+deps:
+	$(REBAR) get-deps
 
 clean:
 	$(REBAR) clean