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 <cda...@posteo.de> 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
> Help-make@gnu.org
> https://lists.gnu.org/mailman/listinfo/help-make
>
_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to