help-make
[Top][All Lists]
Advanced

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

Re: How does make decide if a binary is 'up to date'


From: John Calcote
Subject: Re: How does make decide if a binary is 'up to date'
Date: Thu, 2 May 2019 12:32:01 -0600

Hi Chris,

Make uses file existence and last-modified timestamps to determine if a
target is newer than it's prerequisites. There are other tools that use
checksums like md5, but make only uses presence and timestamps.

John

On Thu, May 2, 2019 at 11:52 AM <address@hidden> wrote:

>  Hi all
>
> Say I would like to reproduce the behavior of make. How exactly does
> make decide if a binary is 'up to date'?
> Maybe something like this?:
>
> https://unix.stackexchange.com/questions/372857/compare-two-file-modification-dates
> But how exactly?
>
> Thanks a lot for any answer,
> Chris
>
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-make
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]