my-emacs-d/elpa/yasnippet-20160924.2001/snippets/makefile-gmake-mode/template
2016-10-20 10:27:10 +02:00

10 lines
237 B
Plaintext

# -*- 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))))