Updated Makefile

This commit is contained in:
Ethan Smith-Coss 2024-06-19 23:33:18 +01:00
parent 7535a3d88b
commit 66d000287c
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -114,9 +114,10 @@ $(__Wl_clipboard):
### PHONY targets that a user would run ###
.PHONY : all
all:
@[[ -z "$(git submodule status | grep --quiet '^-')" ]] && \
ifneq ($(git submodule status | grep --quiet '^-' ; echo $$?), 0)
$(error "Git submodules have not been initialised. Please run: git \
"submodule update --init")
endif
$(MAKE) build
.PHONY : build