diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e371e86 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +SASS=`which sass` + +CSS_TARGETS=popover.css + +all: $(CSS_TARGETS) + +clean: + @rm $(CSS_TARGETS) + +%.css: lib/%.sass + @if test -z $(SASS) ; \ + then \ + echo "Couldn't find sass compiler. (http://sass-lang.com/)" ; \ + exit 1 ; \ + fi + @$(SASS) lib/$(*F).sass $(*F).css +