From 66d000287c7e85e848ccd81813b5dec90d7053f6 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Wed, 19 Jun 2024 23:33:18 +0100 Subject: [PATCH] Updated Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 985c6ff..c5d5b94 100644 --- a/Makefile +++ b/Makefile @@ -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