my-emacs-d/elpa/yasnippet-20161022.646/snippets/makefile-gmake-mode/template

10 lines
237 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: template
# contributor: gbalats
# binding: C-c C-t
# --
define ${1:PROGRAM$(upcase yas-text)}_template
$0
endef
\$(foreach ${2:${1:$(downcase yas-text)}},\$(${3:$1S}),\$(eval \$(call $1_template,\$($2))))