Re: Generating sources

2004-02-02 Thread Roger Leigh
Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: Hi Alexandre! > Roger Leigh wrote: > | In a project, I am preprocessing the C++ source and headers. That is: > | foo.ccg -> foo.cc > | foo.hg -> foo.h > | > | Some custom m4 I wrote processes the files with some simple rules: > | > | $(top_builddi

Re: Generating sources

2004-01-29 Thread Alexandre Duret-Lutz
Roger Leigh wrote: | In a project, I am preprocessing the C++ source and headers. That is: | foo.ccg -> foo.cc | foo.hg -> foo.h | | Some custom m4 I wrote processes the files with some simple rules: | | $(top_builddir)/build/classgen.m4f: $(top_srcdir)/build/classgen.m4 | $(M4) -P -F $@ $

Generating sources

2004-01-26 Thread Roger Leigh
In a project, I am preprocessing the C++ source and headers. That is: foo.ccg -> foo.cc foo.hg -> foo.h Some custom m4 I wrote processes the files with some simple rules: $(top_builddir)/build/classgen.m4f: $(top_srcdir)/build/classgen.m4 $(M4) -P -F $@ $^ %.cc: %.ccg $(top_builddir)/b