summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-10-14 12:36:25 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2016-10-14 12:38:46 +0200
commit7af39bc4479650fbc705d57bba32826bfa2bb2ec (patch)
treebb0e11eac1d84617f98f63739c736e1e055798c7 /src/examples/eolian_cxx
parented1101d9945f358c085be921649485249981ef59 (diff)
examples: eolian_cxx: adapt code generation to changed eolian_gen commandline
The commandline options have changed for eolian_gen to generate the code. Adapt the makefile helpers to fix the build break in examples
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/Makefile.am4
-rw-r--r--src/examples/eolian_cxx/Makefile.examples8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am
index fa3e9ae..ed12249 100644
--- a/src/examples/eolian_cxx/Makefile.am
+++ b/src/examples/eolian_cxx/Makefile.am
@@ -137,10 +137,10 @@ eolian_cxx_callbacks_01_SOURCES = eolian_cxx_callbacks_01.cc
137 true $< 137 true $<
138 138
139%.eo.c: %.eo 139%.eo.c: %.eo
140 $(AM_V_EOL)$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gc -o $@ $< 140 $(AM_V_EOL)$(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:$@ $<
141 141
142%.eo.h: %.eo 142%.eo.h: %.eo
143 $(AM_V_EOL)$(EOLIAN_GEN) $(EOLIAN_FLAGS) --gh -o $@ $< 143 $(AM_V_EOL)$(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:$@ $<
144 144
145examples: $(ECXX_EXAMPLE_EOS) $(GENERATED) $(EXTRA_PROGRAMS) 145examples: $(ECXX_EXAMPLE_EOS) $(GENERATED) $(EXTRA_PROGRAMS)
146 146
diff --git a/src/examples/eolian_cxx/Makefile.examples b/src/examples/eolian_cxx/Makefile.examples
index d3a29a3..4ddd64d 100644
--- a/src/examples/eolian_cxx/Makefile.examples
+++ b/src/examples/eolian_cxx/Makefile.examples
@@ -28,10 +28,10 @@ all: $(OBJS) examples
28codegen: 28codegen:
29 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourable.eo -o colourable.eo.hh 29 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourable.eo -o colourable.eo.hh
30 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourablesquare.eo -o colourablesquare.eo.hh 30 $(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./colourablesquare.eo -o colourablesquare.eo.hh
31 $(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gc -o colourable.eo.c colourable.eo 31 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:colourable.eo.c colourable.eo
32 $(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gc -o colourablesquare.eo.c colourablesquare.eo 32 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:colourablesquare.eo.c colourablesquare.eo
33 $(EOLIAN_GEN) $(EOLIAN_FLAGS) --gh -o colourable.eo.h colourable.eo 33 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:colourable.eo.h colourable.eo
34 $(EOLIAN_GEN) $(EOLIAN_FLAGS) --gh -o colourablesquare.eo.h colourablesquare.eo 34 $(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:colourablesquare.eo.h colourablesquare.eo
35 35
36$(OBJS): codegen 36$(OBJS): codegen
37 $(CC) -c colourable.c $(COMMON_FLAGS) 37 $(CC) -c colourable.c $(COMMON_FLAGS)