C++ JAML4-make:**没有规则使目标“干净”;。停止
我正在尝试为Jam L4电路板输入给定代码,但得到错误:C++ JAML4-make:**没有规则使目标“干净”;。停止,c++,c,makefile,build,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) 在错误窗口中显示:
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”
下面是与clean相关的Makefile中的一些代码
.SILENT:
.PHONY: all check test clean
all: $(APPS)
$(DEP):
$(MAKE) -C ../library
及
任何帮助都将不胜感激 为什么您的Makefile会被拆分?@Zelnes请您对此展开讨论,您所说的拆分是什么意思?如果您只是在命令提示下调用
make-f Makefile clean
,您会看到什么?这行吗?我在指定的位置将命令输入CMD窗口,然后执行以下响应:“make”不被识别为内部或外部命令、可操作程序或批处理文件。
这就是您所说的输入CMD窗口的意思吗@G.M.@L.Full我的意思是为什么代码分为两部分。它们在两个不同的文件中吗?
clean:
ifndef WINDOWS
rm -f $(APPS) *.c
else
del /Q /F *.c *.exe
endif
check: $(APPS)
perl scripts/run-test-suites.pl