[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for review of failing makefile
From: |
Maxim Yegorushkin |
Subject: |
Re: Request for review of failing makefile |
Date: |
Fri, 18 Dec 2009 13:53:23 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Thunderbird/3.0b4 |
On 18/12/09 06:24, Bart Robinson wrote:
> 2009/12/17 Maxim Yegorushkin<address@hidden>:
>> $(ARCHIVES_R) : $(STATIC_LIBS)
>> @echo "updated $@"
>>
>> Although this won't solve the problem since now make considers that
$(ARCHIVES_R)
>> is always gets rebuild, triggering relinking $(OBJDIR_R)/$(EXEFILE)
all the time.
>
> Don't sell yourself short, I think your suggestion of adding empty
> commands is correct :-)
You are quite right. I tried the example and adding an empty command
made it work.
> Since there are commands, make will reconsider the timestamp of
> $(ARCHIVES_R), but they will not force it to be considered out of
> date, so there shouldn't be any spurious relinking.
I was not sure if make reconsiders the timestamp of the target whose
commands have just executed.
--
Max