Skip to content

Instantly share code, notes, and snippets.

@innyso
Last active May 9, 2020 12:01
Show Gist options
  • Select an option

  • Save innyso/62ae9880eabadfd19815a7a344fd15ab to your computer and use it in GitHub Desktop.

Select an option

Save innyso/62ae9880eabadfd19815a7a344fd15ab to your computer and use it in GitHub Desktop.
#makefile #forloop #syntax

how to do for loop in makefile

COFFEETYPE=flatwhite latte cappuccino 

forloop-test:
  $(foreach coffee, $(COFFEETYPE), echo $(coffee);)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment