X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/590f3449add396e5dc77275df6fbf6014cb7a4e2..a94e7cb72fe74ffd3218a9a51723673a379cb628:/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4767041 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +ZCOMPILE = zsh -c 'zcompile $$@' zsh + +SCRIPTS = $(wildcard zshenv zprofile zshrc zlogin zlogout) +TARGETS = $(SCRIPTS:%=%.zwc) + +all: $(TARGETS) + +clean: + rm -f $(TARGETS) + +%.zwc: % + $(ZCOMPILE) $*