add Makefile

This commit is contained in:
Roman Perepelitsa 2020-11-24 12:46:00 +01:00
parent 21df7db2b2
commit 139413f535

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'