Skip to content

Instantly share code, notes, and snippets.

@azatoth
Created June 16, 2011 19:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azatoth/1030091 to your computer and use it in GitHub Desktop.
Save azatoth/1030091 to your computer and use it in GitHub Desktop.
echo static multi line data in makefile
define data
foo
bar
baz
endef
export data
all:
@echo "$$data"
@typebrook
Copy link

@azatoth
Great trick, just works like a charm!

@mdabir1203
Copy link

Thanks a lot !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment