diff --git a/Makefile b/Makefile index da3913d55..885d47076 100644 --- a/Makefile +++ b/Makefile @@ -320,12 +320,13 @@ analyze: $(JS) # Update dependency repos .PHONY: update update: .gitmodules + @git submodule update --init --recursive; + +${JERRY_BASE}/CMakeLists.txt: @if ! [ -f ${JERRY_BASE}/CMakeLists.txt ]; then \ git submodule update --init --recursive; \ fi -${JERRY_BASE}/CMakeLists.txt: update - # set up prj.conf file -.PHONY: setup setup: ${JERRY_BASE}/CMakeLists.txt