Skip to content

Instantly share code, notes, and snippets.

@jasonmelgoza
Forked from ecarter/Makefile
Created January 4, 2012 21:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jasonmelgoza/1562325 to your computer and use it in GitHub Desktop.
Save jasonmelgoza/1562325 to your computer and use it in GitHub Desktop.
Makefile - stylus
# Output Directory
OUTPUT = ../lib
all: css
css:
@echo "stylus => css"
@stylus \
-c \
-u nib \
< style.styl \
> $(OUTPUT)/style.css
watch:
watch --interval=1 $(MAKE) all
.PHONY: all css watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment