JAML4-制作:***没有使目标“干净”的规则。停止

时间:2018-07-23 09:57:47

标签: c++ c makefile build

我正在尝试使用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

任何帮助将不胜感激!

0 个答案:

没有答案