[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unconditional clean
From: |
Paulo J. Matos |
Subject: |
Unconditional clean |
Date: |
Thu, 07 Apr 2011 12:07:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 |
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
- Unconditional clean,
Paulo J. Matos <=