diff --git a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile index e2f51664..fa8e4714 100644 --- a/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile +++ b/tutorials/nxp/frdm-mcxn947-xpresso-freertos-builtin/Makefile @@ -24,5 +24,4 @@ wizard: clean: - sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2 - + test -f firmware.axf && sudo rm -rf firmware.* wizard* workspace mcuxpresso .cache .eclipse .p2 || true