This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Makefile patch for BSD make
> -gengtype-lex.o : gengtype-lex.c gengtype.h gengtype-yacc.c \
> +gengtype-lex.o : $(srcdir)/gengtype-lex.c gengtype.h $(srcdir)/gengtype-yacc.c \
What happens when those files are generated in the build directory
instead of the source directory? Many people argue against needing
the source directory to be writable; any solutions they come up with
will require that the vpath be used to find generated files like
these.