title: Execute object files from different directories using Makefile
body: <p>I have the following Makefile entry:</p>
  
  <pre><code>TEST_DIRS = abcd pqr xyz
  
  test_lib :
          for dir in $(TEST_DIRS); do \
                  $(MAKE) -C $$dir; \
          done
  run :
          ./abcd/test/abcd_test.o --log_level=message
          ./pqr/test/pqr_test.o --log_level=message
          ./xyz/test/xyz_parser_test.o --log_level=message
  
  test :  test_lib run
  </code></pre>
  
  <p>I don't want to write 3 separate commands for run target instead make it generic. So that everytime a new test file gets added, I dont want add a new command under run target. Can somebody help me?</p>