title: Compile all less file using a makefile
body: <p>I have a number of less file that I would like to compile using a makefile.</p>
  
  <pre><code>DEBUG=yes
  LESS_FILES= static/backend/css/styles.less static/frontend/css/styles.less
  
  ifeq ($(DEBUG),yes)
      LESSC=lessc
  else
      LESSC=lessc -x
  endif
  
  
  less: $(LESS_FILES)
  
  %.css: %.less
      $(LESSC) $&lt; &gt; $@
  </code></pre>
  
  <p>I created this makefile, but when starting <code>make less</code> I get : </p>
  
  <pre><code>make: Rien à faire pour « less ».
  </code></pre>
  
  <p>The file <code>.css</code> doesn't exists yet. What's wrong ?</p>