19 lines
199 B
Makefile
19 lines
199 B
Makefile
|
|
SCSS=$(wildcard *.scss)
|
|
CSS=$(patsubst %.scss,%.css,$(SCSS))
|
|
|
|
all: build
|
|
|
|
build: $(CSS)
|
|
|
|
clean:
|
|
rm -f $(CSS)
|
|
|
|
%.css: %.scss
|
|
sass $< > $@
|
|
|
|
.PHONY: all
|
|
.PHONY: build
|
|
.PHONY: clean
|
|
#.PHONY: $(CSS)
|
|
|