add Makefile

This commit is contained in:
Roman Perepelitsa 2020-11-24 12:46:00 +01:00
parent 21df7db2b2
commit 139413f535
1 changed files with 7 additions and 0 deletions

7
Makefile Normal file
View File

@ -0,0 +1,7 @@
ZSH ?= $(shell command -v zsh 2> /dev/null)
all:
pkg:
cd gitstatus && $(MAKE) ZSH=$(ZSH) pkg && cd ..
$(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done'