title: Pointing a Makefile to a set of files of specific type
body: <p>I'm writing my first Makefile...</p>
  
  <p>This question is similar to <a href="https://stackoverflow.com/questions/3878383/create-rule-in-makefile-for-just-a-set-of-files">this one</a> but I want to point the Makefile to a specific directory of .js and .css files.. how do you do this?</p>
  
  <p>I have this so far:</p>
  
  <pre><code>JS_TARGETS = $(find path/to/js/ -name '*.js')
  CSS_TARGETS = $(find path/to/css/ -name '*.css')
  
  .DEFAULT_GOAL := all
  </code></pre>
  
  <p>which doesn't work:</p>
  
  <pre><code>make: *** No rule to make target `all'. Stop.
  </code></pre>
  
  <p>Must be simple for someone who makes lots of Makefiles!  Thanks :).</p>