Hey, just a suggestion (I think this is the right place...).
on the "todolist" target, it also display that line of the Makefile (since, obviously, all the keywords are listed, and ALLFILES includes AUXFILES which includes the Makefile itself ). I got around this by just changing $(ALLFILES) to $(ALLFILES:Makefile=) which just removed the Makefile from that check.
People should be able to figure it out, but at the same time, it should also be fixed.
Other then that, loved the tutorial. I had used the Autotools side of make a lot, but never dove into actually writing a manual Makefile, so this helped a lot (aside from OSDev, this is just a great Makefile tutorial. lol)
Makefile tutorial
Re: Makefile tutorial
Nice catch! I actually never bothered about the self-referring match in the Makefile, at least not to the point of trying to do anything about it. This is a nice solution!
Every good solution is obvious once you've found it.
Re: Makefile tutorial
Thanks, I really liked the clean look of the output from the rest of the Makefile, so that bugged me. Hope I could be of some help to some other output OCD person out thereSolar wrote:Nice catch! I actually never bothered about the self-referring match in the Makefile, at least not to the point of trying to do anything about it. This is a nice solution!