util: automake: rework the format_srgb.c rule
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 17 Jul 2015 09:21:06 +0000 (10:21 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Sep 2015 11:48:09 +0000 (12:48 +0100)
commitd65bd7a7be48d7805f68cd45218794f3e4590408
treebe7ed440ba7b3dfd9b6073f55ceea5ac5c31230a
parentc8984a7a4686c2045666d32fbe5733ff5a5c3bd8
util: automake: rework the format_srgb.c rule

A handful of changes/cleanups paving the way to bmake support:
 - Remove optional $(srcdir)/ prefix for files in the prereq list.
 - Drop the space after the AM_V_GEN variable.
 - Using $< in a non-suffix rule is a GNU make idiom.
 - Use $(@D) over $(dir $@). The latter is a POSIX standard.

v2: Cosmetic tweaks in the commit summary.

Cc: 11.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com> (v1)
src/util/Makefile.am