phd-site/mainsite/scss/Makefile

11 lines
188 B
Makefile
Raw Normal View History

2024-11-13 12:19:06 +01:00
STYLES=style.scss
IMPORTS=$(shell ls -1 _*.scss)
OUTDIR=../static/css
SASS=sassc
all: $(addprefix $(OUTDIR)/,$(STYLES:.scss=.css))
$(OUTDIR)/%.css: %.scss $(IMPORTS)
$(SASS) "$<" "$@"