
Akim Demaille <akim@epita.fr> writes:
Do not forget to launch `bootstrap', since an instruction was removed from nolimips.xml
That's not good. No, it is not :(
The Makefiles should handle this. You should fix them rather than using bootstrap all the time. Have a look at src/ast/Makefile.am to see how tc handles this.
From src/ast/Makefile.am:
include $(srcdir)/ast-nodes.mk [...] $(srcdir)/ast-nodes.mk: $(gen_dir)/ast-nodes-mk-gen $(ast_gen_deps) $(gen_dir)/ast-nodes-mk-gen < $(srcdir)/ast.xml >$@.tmp mv -f $@.tmp $@ ## ## I did not know that the generated Makefiles were so smart :P ## Nice! $(srcdir)/ast-fwd-gen.stamp: $(gen_dir)/ast-fwd-gen $(ast_gen_deps) @rm -rf $@.tmp @touch $@.tmp $(gen_dir)/ast-fwd-gen $(srcdir) < $(srcdir)/ast.xml @mv -f $@.tmp $@ fwd.hh: ast-fwd-gen.stamp ## ## Why use such a mechanism to update stamp? -- Noe