1 SCSS_SOURCE_DIR := scss
2 SCSS_SOURCES := $(wildcard $(SCSS_SOURCE_DIR)/[^_]*.scss)
5 CSS_COMPILED := $(SCSS_SOURCES:$(SCSS_SOURCE_DIR)/%.scss=%.css)
7 SCSS_OUTPUT_TYPE := expanded
10 SCSS_FLAGS := -t $(SCSS_OUTPUT_TYPE)
12 update: $(CSS_COMPILED)
15 rm -rf $(CSS_DEST_DIR) .sass-cache
17 %.css: $(SCSS_SOURCE_DIR)/%.scss
18 @[ -d $(CSS_DEST_DIR) ] || mkdir -p $(CSS_DEST_DIR)
19 $(SCSS_BIN) $(SCSS_FLAGS) $< $(CSS_DEST_DIR)/$@