Last active
July 22, 2020 23:14
-
-
Save kenenbek/be6817a6292191902751e8a3b48e39b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assign-vars = $(foreach A,$2,$(eval $1: $A)) | |
multiple_variable = a=10 \ | |
b=$(shell echo $$(( $(a)-1 )) ) | |
$(call assign-vars, print, $(multiple_variable)) | |
print: | |
@echo $(b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment