title: How to generate targets in a Makefile by iterating over a list?
body: <p>CODE:</p>
  
  <pre><code>LIST=0 1 2 3 4 5
  PREFIX=rambo
  
  # some looping logic to interate over LIST
  </code></pre>
  
  <p>EXPECTED RESULT:</p>
  
  <pre><code>rambo0:
      sh rambo_script0.sh
  
  rambo1:
      sh rambo_script1.sh
  </code></pre>
  
  <p>Since my LIST has 6 elements, 6 targets should be generated. In future, if I want to add more targets, I want to be able to just modify my LIST and not touch any other part of the code.</p>
  
  <p>How should the looping logic be written?</p>