Skip to content

Instantly share code, notes, and snippets.

@guehara
Created April 18, 2013 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guehara/5409112 to your computer and use it in GitHub Desktop.
Save guehara/5409112 to your computer and use it in GitHub Desktop.
zcompile用
# -*- mode: makefile ; coding: utf-8-unix;
__ALL_SRC__ := $(wildcard *.zsh) .zshrc
TARGET :=$(__ALL_SRC__:%=%.zwc)
all: check $(TARGET)
check:
@chmod a-x $(__ALL_SRC__)
%.zwc: %
zsh -fc "zcompile $*"
clean:
-@rm -f $(TARGET)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment