From ecf1de25a4fcd5897a20f983f94b08823a55082e Mon Sep 17 00:00:00 2001 From: ratijas Date: Thu, 26 Nov 2020 13:51:39 +0300 Subject: [PATCH] Makefile: optimize recursive invocation (#1127) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2ba7c76d..116ae41d 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,5 @@ ZSH := $(shell command -v zsh 2> /dev/null) all: pkg: - cd gitstatus && $(MAKE) pkg && cd .. + $(MAKE) -C gitstatus pkg $(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done'