Clean initially fails with "make: *** No rule to make target 'clean'. Stop."
We have a problem where cleans fail with the error: “make: *** No rule to make target ‘clean’. Stop.”
In the log file the following error can be seen:
org.eclipse.core.internal.resources.ResourceException: Resource ‘/bootloader/Debug/sources.mk’ does not exist.
If clean is run again then it sometimes works and usually by the 3rd time it works correctly.
Then if a build is run it only builds about half the files. Starting build again without a clean causes the remaining files to be built.
If from now on only builds are done then everything is ok. The problem seems to be related to the external builder as changing to the internal builder in the project settings causes the problem to disappear.
Is there any reason to not use the internal builder?
UPDATE: The Post-build steps don’t run when using the internal builder so back to the External builder again and the original problem. Why does the external builder have this issue?