Make (software) - Behavior

Behavior

Make is typically used to build executable programs and libraries from source code. Generally though, any process that involves transforming a source file to a target result (by executing arbitrary commands) is applicable to Make. For example, Make could be used to detect a change made to an image file (the source) and the transformation actions might be to convert the file to some specific format, copy the result into a content management system, and then send e-mail to a predefined set of users that the above actions were performed.

Make is invoked with a list of target file names to build as command-line arguments:

make TARGET

Without arguments, Make builds the first target that appears in its makefile, which is traditionally a symbolic "phony" target named all.

Make decides whether a target needs to be regenerated by comparing file modification times. This solves the problem of avoiding the building of files which are already up to date, but it fails when a file changes but its modification time stays in the past. Such changes could be caused by restoring an older version of a source file, or when a network filesystem is a source of files and its clock or timezone is not synchronized with the machine running Make. The user must handle this situation by forcing a complete build. Conversely, if a source file's modification time is in the future, it triggers unnecessary rebuilding, which may inconvenience users.

Read more about this topic:  Make (software)

Famous quotes containing the word behavior:

    Children, randomly at first, hit upon something sooner or later that is their mother’s and/or father’s Achilles’ heel, a kind of behavior that especially upsets, offends, irritates or embarrasses them. One parent dislikes name-calling, another teasing...another bathroom jokes. For the parents, this behavior my have ties back to their childhood, many have been something not allowed, forbidden, and when it appears in the child, it causes high-voltage reaction in the parent.
    Ellen Galinsky (20th century)

    No one thinks anything silly is suitable when they are an adolescent. Such an enormous share of their own behavior is silly that they lose all proper perspective on silliness, like a baker who is nauseated by the sight of his own eclairs. This provides another good argument for the emerging theory that the best use of cryogenics is to freeze all human beings when they are between the ages of twelve and nineteen.
    Anna Quindlen (20th century)

    This whole business of Trade gives me to pause and think, as it constitutes false relations between men; inasmuch as I am prone to count myself relieved of any responsibility to behave well and nobly to that person who I pay with money, whereas if I had not that commodity, I should be put on my good behavior in all companies, and man would be a benefactor to man, as being himself his only certificate that he had a right to those aids and services which each asked of the other.
    Ralph Waldo Emerson (1803–1882)