2025.5.15第二次提交,按照实际场景初步修改代码。

This commit is contained in:
Ñõԭ×Ó
2025-05-15 17:15:15 +08:00
parent 6879dec68c
commit 9cd5540936
3 changed files with 74 additions and 26 deletions

View File

@@ -0,0 +1,20 @@
cxx := gccarm
file_cpp := $(wildcard *.cpp)
file_o := /home/pi/usr/pid.x
$(file_o) : $(file_cpp)
@$(cxx) $^ -o $@
maze : $(file_o)
clean :
@rm -rf $(file_o)
debug :
@echo $(cxx)
@echo $(file_cpp)
@echo $(file_o)
.PHONY : maze clean debug