help-make
[Top][All Lists]
Advanced

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

fail, if a target was not generated


From: Torsten Mohr
Subject: fail, if a target was not generated
Date: Wed, 12 Oct 2005 22:35:44 +0200
User-agent: KMail/1.8

Hi,

the commands in a certain rule to generate a target always give
a return code different to 0x00.

This is known and ok, the wanted output file is generated.

At the moment i have a rule like this:

$(OUTPUT) : $(INPUT)
        -command -o $@ -c $<


I'd like to have something like this:

$(OUTPUT) : $(INPUT)
        -command -o $@ -c $<
        fail_if_target_does_not_exist_or_is_older_than_input $@ $<


Is something like this possible?


Best regards,
Torsten.




reply via email to

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