cbfstool: clarify dependencies in Makefile
commit8d6e24c739699c1e66434a03a781ba5b9efb1fba
authorPatrick Georgi <pgeorgi@chromium.org>
Tue, 19 May 2015 14:41:21 +0000 (19 16:41 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 19 May 2015 18:30:04 +0000 (19 20:30 +0200)
tree874fcf32e92a9041c3cd7ce611645b7f92c00480
parentd32b27383b35b62ea853e5edda5af302898c9cf2
cbfstool: clarify dependencies in Makefile

While logical, make's handling of multiple targets in a rule isn't
intuitive, and was done wrong in cbfstool's Makefile.

%.c %.h: %.l encourages make to run the rule twice, once to
generate the .c file, once for the .h file. Hilarity ensues.

Change-Id: I2560cb34b6aee5f4bdd764bb05bb69ea2789c7d8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10251
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
util/cbfstool/Makefile