examples/elementary: drop generated.h from SOURCES
authorBruno Dilly <bdilly@profusion.mobi>
Wed, 28 Sep 2016 01:54:58 +0000 (22:54 -0300)
committerBruno Dilly <bdilly@profusion.mobi>
Wed, 28 Sep 2016 17:42:58 +0000 (14:42 -0300)
commit245d69b48081c575f51c3c272d67d7aa4db88cbf
tree5321e0fffa90ff02c0a85a7d4f7574837135615b
parent8cb4a943ba5906e07d1df64c742cd7bf18b1bf8e
examples/elementary: drop generated.h from SOURCES

Remove codegen_example_generated.h from codegen_example_SOURCES
and let it only on nodist_codegen_example_SOURCES and
on BUILT_SOURCES.

Also add dependency between codegen_example.c
and codegen_example_generated.h since it's required
to compile.

Avoid the following build error:
  CODEGEN      codegen_example_generated.c
  codegen_example.c:26:39: fatal error: codegen_example_generated.h:
      No such file or directory
  compilation terminated.
  Makefile:4960: recipe for target 'codegen_example.o' failed
src/examples/elementary/Makefile.am