bug-make
[Top][All Lists]
Advanced

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

Re: Idea: Standard way to negate special targets


From: Edward Welbourne
Subject: Re: Idea: Standard way to negate special targets
Date: Wed, 12 Jun 2019 08:42:15 +0000

David A. Wheeler (11 June 2019 22:25) wrote:
> I know of no other use for "!" in prerequisites.

Well, it could be a file-name ;^>
For example, compare /usr/bin/[
A Unix could implement the shell's ! as an actual command.
The make-file to build it would have ! as a target to build.
The check rule to test it would have it as a prerequisite.

However simply putting it at the end of the prerequisites would suffice
to work round any problem here; or, indeed, just not putting it
immediately before a special prerequisite (as the special "target" must
now be described).

        Eddy.



reply via email to

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