Hi Ben, * Ben Pfaff wrote on Mon, Jun 14, 2010 at 06:36:17PM CEST: > Here is another approach that I had not thought of before. > What if we added the following to > modules/relocatable-prog-wrapper:
> *) cd $(top_builddir) && \ > $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ > AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ > uninstall ;; \ > I haven't tested it yet, and I'm a little worried about whether > this is unwarranted abuse of AM_MAKEFLAGS. No, this is actually a very good use of AM_MAKEFLAGS to avoid the make recursion issue with variable overrides. Sorry I didn't mention it last time, I keep forgetting about it. Cheers, Ralf