less = $(wildcard *.less) _css = $(less:.less=.css) css = $(addprefix ../css/, $(_css) ) ../css/%.css: %.less lessc $< $@ all: $(css) clean: rm -vf $(css)