[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: lockrun



Neil Williams wrote:

> On Sun, 2008-05-25 at 16:37 -0500, Raphael Geissert wrote:
>> 
>> $(OURCC) $(CFLAGS) lockrun.c -o lockrun
> 
> OUR is the wrong prefix, CROSSCC is probably better.
> 

The thing is that it is not always used for cross compiling, so I don't
think CROSSCC is the best name either. Seems like we are lacking ideas
here :)

...
> 
> You might want to set a default for $(CC) if using that:
> CC:=cc

make already defines one by default:

8<--->8
$ cat cc.mk

foo:
        echo $(CC)

$ make -f cc.mk foo
echo cc
cc
8<--->8

> 

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Reply to: