Observation Of The Day

Several short but sweet observations of the day.

NP: 10,000Hz Legend, Air.

15:36 Tuesday, 11 May 2004 [#] [computers] (6 comments)

Posted by Daniel Silverstone at Tue May 11 18:45:39 2004:
Being forced to use a non GNU-Make teaches you all the magic of suffix rules. It also makes you appreciate far more the powers of automake.
Posted by Ross at Tue May 11 19:38:04 2004:
By magic I presume you meant "crippled".  I nearly cried when I discovered that ".c.asm: foo" doesn't mean that foo is a dependency on a rule from .asm to .c, but that the file .c.asm depends on foo.
Posted by Jon at Tue May 11 20:32:23 2004:
forgive me if I'm brain farting but why would .c.asm be a rule asm->c? it's written L->R 'c->asm' and it means c->asm...

I'm interested in a generic dependency for a transition .x->.y except for the file .x itself.. where would you use .c.asm: foo to mean this?
Posted by Ross at Tue May 11 21:59:00 2004:
Yes, my mistake: ".c.asm:" is what I meant: make foo.asm from foo.c.

".c.asm: foo" is broken syntax with suffix rules in make, and doesn't mean anything like the "usual" "%.asm: %.c foo".
Posted by Dave C at Wed May 12 06:39:23 2004:
Well, I was going to post a witty retort and trounce the lot of you, but now I am far too confused and think I'll just stick with the good old water torture.
Posted by kaz at Thu May 13 16:33:17 2004:
Im with you dave

Name:


E-mail:


URL:


Add 6 and 7 (required):


Comment: