Tiny project to play with gmake ?

2006-11-16 Thread Maxim Vexler

Hi list,

I'm making a comparison between various make tools (such as gmake,
cmake, scons and co.) to make a smart decision for the make tool to
use.

I have no real experience with either of the tools, and would like to learn.

To make a good starting point I'm looking for a small (tiny) open
source project, one with a few cpp files, some small .h files. A bonus
would be if this project uses a small but stable (compile wise) 3rd
party library.

Could some one please tip me on some project from sourceforge, or
similar that would be suitable for my needs? A link to your own code
you've used for learning gmake will do just as well.

Thank you in advance,
Maxim.

--
Cheers,
Maxim Vexler

Free as in Freedom - Do u GNU ?


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


Re: Tiny project to play with gmake ?

2006-11-16 Thread Jon Grant
Hi,

Why not build GNU Make? ;)

Cheers
Jon


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


$(comment)

2006-11-16 Thread Dan Jacobson
Gentlemen, I have discovered an excellent way to comment out parts of
lines in makefiles. Be sure you document it somewhere.

All one needs to do is wrap a $( . ) around the code to be commented:

gp:timez1
echo 'set xdata time;set timefmt %s;$(set format x %m/%d;\
set timefmt %m/%d/%y %H:%M;)plot $? using 0:1;'|...

Imagine the pain of trying to comment out that section via other
means, or then even trying to uncomment it back.

Of course one day it will blow up depending on what comes right after
the $(, but then of course you hopefully will provide a way of
ensuring against this better than testing each time with a make -n,
i.e., some kind of comment command: $(comment bla bla bla), or
$(comment()) or whatever.


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


Re: Tiny project to play with gmake ?

2006-11-16 Thread Eli Zaretskii
 Date: Wed, 15 Nov 2006 13:23:31 +0200
 From: Maxim Vexler [EMAIL PROTECTED]
 
 To make a good starting point I'm looking for a small (tiny) open
 source project, one with a few cpp files, some small .h files. A bonus
 would be if this project uses a small but stable (compile wise) 3rd
 party library.

How about GNU hello?  It's available from ftp://ftp.gnu.org/gnu/hello/.


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make