X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample2%2Fcodegen.make;h=76e3f936ac6f82d5378bd1d19e6494d3eb9ac449;hp=6d7f069ffef8b4382a67742c1332a052da15cd40;hb=58f452c4278be2568cb663f1ec47b0cca95c46f6;hpb=c99918d6ed784eec9576d8641c62dd3153089414 diff --git a/examples-codegen/example2/codegen.make b/examples-codegen/example2/codegen.make index 6d7f069..76e3f93 100644 --- a/examples-codegen/example2/codegen.make +++ b/examples-codegen/example2/codegen.make @@ -22,7 +22,7 @@ libt2ngroup_%.P : Makefile.am echo '#include "$*.hxx"' >> $*_common.hxx; # todo use tmp file for xml file for i in $($*_GROUP); do \ - gccxml $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(srcdir)/$${i} -fxml=$${i%*.cpp}.xml; \ + libt2n-gccxml.sh $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(srcdir)/$${i} -fxml=$${i%*.cpp}.xml; \ done && $(LIBT2N_CODEGEN) $* $($*_GROUP:.cpp=.xml) && for i in $($*_GROUP); do \ rm $${i%*.cpp}.xml; \ done && touch $@