AnsweredAssumed Answered

Is there a good workaround for "make clean" with error code 87?

Question asked by Takashi Kashiwagi on Mar 19, 2019
Latest reply on Mar 21, 2019 by Con Verse

Hi LPCX presso support

 

I have using MCUXpresso IDE v10.3.0. 

When I clean my project, "make clean" fails with erro code 87.

 

 

make: [makefile:143: clean] Error 87 (ignored)

 

The cause is that the command line for windows is limited.

https://github.com/gnu-mcu-eclipse/windows-build-tools/issues/3

 

It will work if you delete the contents of the Debug / Release folder manually , split "clean" in the makefile as follows or create "clean2",  but is there a simpler workaround?

 

# Other Targets

clean:
 -$(RM) $(CC_DEPS)

 -$(RM) $(C++_DEPS)

 -$(RM) $(EXECUTABLES)

 -$(RM) $(C_UPPER_DEPS)

 -$(RM) $(CXX_DEPS)

 -$(RM) $(OBJS)

 -$(RM) ******.axf

 

 

 

Beset Regards,

T.Kashiwagi

Outcomes