mirror of
https://gitee.com/yyz_o/bk_bishe_pi.git
synced 2025-09-07 23:21:26 +00:00
2025.5.15第二次提交,按照实际场景初步修改代码。
This commit is contained in:
20
robot_test_code/PID/makefile
Normal file
20
robot_test_code/PID/makefile
Normal 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
|
||||
Reference in New Issue
Block a user