> the commands in a certain rule to generate a target always give
> a return code different to 0x00.
[...]
> I'd like to have something like this:
>
> $(OUTPUT) : $(INPUT)
>         -command -o $@ -c $<
>         fail_if_target_does_not_exist_or_is_older_than_input $@ $<

        [[    -e  $@ ]] || echo "$@ does not exist"
        [[ $@ -ot $< ]] && echo "$@ is older than $<"


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to