OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:59 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Makefile tutorial
PostPosted: Sat Oct 08, 2011 8:16 pm 
Offline
Member
Member

Joined: Sun Feb 13, 2011 4:55 pm
Posts: 83
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 :P). 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)

_________________
StewieOS


Top
 Profile  
 
 Post subject: Re: Makefile tutorial
PostPosted: Sun Oct 09, 2011 5:09 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
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.


Top
 Profile  
 
 Post subject: Re: Makefile tutorial
PostPosted: Sun Oct 09, 2011 3:13 pm 
Offline
Member
Member

Joined: Sun Feb 13, 2011 4:55 pm
Posts: 83
Solar 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!


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 there :)

_________________
StewieOS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group