我正在尝试使用Jam L4电路板的给定代码,但出现错误:
10:44:46 **** Clean-only build of configuration mbedTLS for project STM32L4xx-Nucleo ****
make clean
make: *** No rule to make target `clean'. Stop.
10:44:47 Build Failed. 1 errors, 0 warnings. (took 750ms)
,并在错误窗口中显示:
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'STM32L4xx-Nucleo'.
java.lang.NullPointerException
当我尝试构建项目时。我确保将make文件正确命名为“ Makefile”。
下面是Makefile中与clean相关的一些代码。
.SILENT:
.PHONY: all check test clean
all: $(APPS)
$(DEP):
$(MAKE) -C ../library
和
clean:
ifndef WINDOWS
rm -f $(APPS) *.c
else
del /Q /F *.c *.exe
endif
check: $(APPS)
perl scripts/run-test-suites.pl
任何帮助将不胜感激!