Society of Robots - Robot Forum

Software => Software => Topic started by: spizzak on July 15, 2009, 07:55:38 AM

Title: makefiles
Post by: spizzak on July 15, 2009, 07:55:38 AM
Is there a guide anywhere on how to make the "makefile" for your program?
Title: Re: makefiles
Post by: chelmi on July 15, 2009, 08:59:57 AM
Is there a guide anywhere on how to make the "makefile" for your program?

Do you mean on SoR? I didn't find any. There are plenty of them on the net though.

I think it would be nice to have a tutorial about Makefile on SoR though. What do you guys think? If enough people are
interested, I volunteer to do it (I write Makefile all day long :p ), but it might take some time.
Title: Re: makefiles
Post by: dellagd on July 15, 2009, 11:26:14 AM
would be very usefull
Title: Re: makefiles
Post by: SmAsH on July 15, 2009, 04:28:38 PM
Quote
What do you guys think?
i think it would be a great addition to the site, i would love to see one!
Title: Re: makefiles
Post by: apc3161 on July 21, 2009, 12:00:10 AM
Is there a guide anywhere on how to make the "makefile" for your program?

Do you mean on SoR? I didn't find any. There are plenty of them on the net though.

I think it would be nice to have a tutorial about Makefile on SoR though. What do you guys think? If enough people are
interested, I volunteer to do it (I write Makefile all day long :p ), but it might take some time.

Oh please for the love of god do it. If you can write a nice, simple makefile tutorial I would be so grateful.
Title: Re: makefiles
Post by: Kirk on July 21, 2009, 07:15:39 AM
Yes, this would be helpful.
Especially if it was a targeted tutorial like "make for AVR and gcc/gpp" (my preference)
  I have 2 sample makefiles that I copy and modify for AVR gcc.  With one of them I get compile errors on for statements. The other compiles fine.  I have no idea why.
I know that it will be a big effort to write a good tutorial on make.  In the meantime could you post your favorite make links.  My web searching has found things about make for those that already know make and who program in windows.
Thanks
Kirk
Title: Re: makefiles
Post by: chelmi on July 21, 2009, 09:41:26 AM
I'm on it ! The first section (avr-gcc) is done, I'm starting section 3 and 4 tonight.

As for links, the only link I have regarding make in my bookmarks is the reference documentation
http://www.gnu.org/software/make/manual/html_node/index.html

not exactly a good introduction though :(

Look for "introduction to makefile" in google, the first few results that came up seems good...
Title: Re: makefiles
Post by: apc3161 on July 22, 2009, 12:24:03 PM
I'm on it ! The first section (avr-gcc) is done, I'm starting section 3 and 4 tonight.

As for links, the only link I have regarding make in my bookmarks is the reference documentation
http://www.gnu.org/software/make/manual/html_node/index.html

not exactly a good introduction though :(

Look for "introduction to makefile" in google, the first few results that came up seems good...

Going to read this later today. Thanks so much.