summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2016-09-27 22:54:58 -0300
committerBruno Dilly <bdilly@profusion.mobi>2016-09-27 23:19:46 -0300
commit15727d97eff1ab8d7d8d797d15342e86fdc47810 (patch)
tree7ccf2a985abde2a540dc544e7cea13805209f351
parent735c1035d24aa6071f40c560740333b7d2e2fa45 (diff)
downloadefl-devs/bdilly/fix_vnc_example.tar.gz
examples/elementary: drop generated.h from SOURCESdevs/bdilly/fix_vnc_example
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
-rw-r--r--src/examples/elementary/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/elementary/Makefile.am b/src/examples/elementary/Makefile.am
index 84bc4911de..fc279c1b45 100644
--- a/src/examples/elementary/Makefile.am
+++ b/src/examples/elementary/Makefile.am
@@ -258,8 +258,9 @@ codegen_example_generated.c codegen_example_generated.h: codegen_example.edj
BUILT_SOURCES = codegen_example_generated.c codegen_example_generated.h
+codegen_example.c: codegen_example_generated.h
+
codegen_example_SOURCES = \
- codegen_example_generated.h \
codegen_example.c
nodist_codegen_example_SOURCES = \
codegen_example_generated.c \