Very helpful article. Trying to implement #4 on a project where we have a managed makefile with the renesas e2 eclipse based IDE though, can’t seem to get the FILENAME defined correctly. Adding FILENAME=‘"$(notdir $<)" -c -o $@ $<’ as a preproc define gave strange behavior, as did ` as a wrapper. If you or any of your readers have dealt with similar, could use a tip.