diff --git a/Makefile b/Makefile index 7c3713f..ab9c7d7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY=static all clean ALL_STATIC := $(patsubst res/static/%,public/%,$(wildcard res/static/*)) -ALL_LESS := $(patsubst res/less/%.less,public/%.css,$(wildcard res/less/*.less)) +ALL_LESS := public/main.css public/index.css public/song.css ALL_TEMPLATES := $(wildcard res/templates/*.html) PY_SRC := $(wildcard src/**.py) @@ -20,7 +20,13 @@ public/audios: audios public rm -f public/audios ln -s ../audios public/audios -public/%.css: res/less/%.less +public/main.css: res/less/main.less res/less/colors.less + lessc $< $@ + +public/index.css: res/less/index.less res/less/colors.less + lessc $< $@ + +public/song.css: res/less/song.less res/less/colors.less lessc $< $@ public/%: res/static/%