Hi all,

I have a target like:
foo: dep1 dep2
    $(MAKE) -c tests
    rm -Rf $(tests_tmp)

However, this fails to work as intended since the clean (rm -Rf...) is not executed is $(MAKE) -c tests fail.

I want to always execute the clean unconditionall but the exit code generated by foo should be the one of $(MAKE) -c tests.

Any tips on how to achieve this?

Cheers,
--
PMatos


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

Reply via email to