79379604

Date: 2025-01-23 01:39:58
Score: 2
Natty:
Report link

To complement the solution by @MadScientist:

Use Substitution References to simplify the code (if you're familiar with this concept).

$(SUBDIRS:%=run-%): run-%:
    $(MAKE) -C $* run
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @MadScientist
  • Low reputation (0.5):
Posted by: Simon Ioan