coccinelle: use $(addsuffix) in 'coccicheck' make target
commit7cd3af5437ce18e40f3d88d37323191b141a8091
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 23 Jul 2018 13:50:57 +0000 (23 15:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jul 2018 19:37:28 +0000 (23 12:37 -0700)
treed5ebca792d286d3090101d0631cc248cc3ef9789
parent0c7642562edc97059f5de566db53b03b6f47cec2
coccinelle: use $(addsuffix) in 'coccicheck' make target

The dependencies of the 'coccicheck' make target are listed with the
help of the $(patsubst) make function, which in this case doesn't do
any pattern substitution, but only adds the '.patch' suffix.

Use the shorter and more idiomatic $(addsuffix) make function instead.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile