bug-bash
[Top][All Lists]
Advanced

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

Could bash do what make does?


From: Robert Durkacz
Subject: Could bash do what make does?
Date: Mon, 28 Nov 2016 12:25:19 +1100

Has thought been given, over the years, to extending bash to do
what make does, in the obvious way that I am about to describe?

It would be a matter of having chosen build commands do nothing if their outputs are newer than their inputs. For example that is, cc file.c -o file.o should execute normally if file.c is the newer file but do nothing if file.o is newer.

Then you would have a deterministic script to build a system that simply skipped steps determined to be unnecessary.

It is possible to achieve this without changing bash but it seems like there would be leverage in having bash deliberately support this mode.

reply via email to

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