OUTDIR=../static/css/ STYLES=style.scss IMPORTS=_params.scss _forms.scss _mixins.scss SASS=sassc all: $(addprefix $(OUTDIR)/,$(STYLES:.scss=.css)) $(OUTDIR)/%.css: %.scss $(IMPORTS) $(SASS) "$<" "$@"