Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
echo static multi line data in makefile
define data
foo
bar
baz
endef
export data
all:
@echo "$$data"
@typebrook
Copy link

typebrook commented Aug 4, 2020

@azatoth
Great trick, just works like a charm!

@mdabir1203
Copy link

mdabir1203 commented May 22, 2022

Thanks a lot !!

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