Say I have a rule with an ignored-error action:
some_file:
-$(DO_SOMETHING) > $@
Is there a way to test for existence of some_file from another rule?
For example:
some_rule : some_file
$(if $(DO_EXISTENCE_TEST_HERE),$(DO_GOODSTUFF),$(DO_BADSTUFF))
$(wildcard some_file) doesn't always seem to be reliable.
Ideas?
-Dave
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
