cyp/app/Makefile
Ondrej Zara e5e90bf10a icons
2019-03-26 15:40:23 +01:00

18 lines
282 B
Makefile

LESS := $(shell npm bin)/lessc
APP := app.css
ICONS := js/lib/icons.js
all: $(APP)
icons: $(ICONS)
$(ICONS): icons/*
./svg2js.sh icons > $@
$(APP): css/*
$(LESS) css/app.less > $@
watch: all
while inotifywait -e MODIFY -r css js ; do make $^ ; done
.PHONY: all watch icons