diff --git a/Makefile b/Makefile index 351eff7670..913d3bfc80 100644 --- a/Makefile +++ b/Makefile @@ -128,7 +128,7 @@ GIT_SUBMODULE_UPDATE := git submodule update --init --recursive .DEFAULT: +@ echo -e "Git submodules not found. Running '$(GIT_SUBMODULE_UPDATE)'.\n"; \ $(GIT_SUBMODULE_UPDATE) && \ - git submodule foreach --quiet 'git reset --quiet --hard' && \ + git submodule foreach --quiet 'git reset --quiet --hard && git lfs init && git lfs pull' && \ echo # Now that the included *.mk files appeared, and are newer than this file, Make will restart itself: # https://www.gnu.org/software/make/manual/make.html#Remaking-Makefiles