title: Makefile - Automatically run all programs
body: <p>I have this in my Makefile:</p>
  
  <pre><code>%.x: %.c
  $(CC) $(CFLAGS) -o $@ $^
  </code></pre>
  
  <p>So this generates executable files ending with .x
  Now I would like to run all these executables one by one, something like: </p>
  
  <pre><code>run:
     &lt;execute *.x&gt;
  </code></pre>
  
  <p>, but I want to avoid typing all the names</p>
  
  <pre><code>run:
      ./a.x
      ./b.x
  </code></pre>
  
  <p>(How) can I do that? </p>
  
  <p>Thanks in advance.</p>