mirror of
https://gitee.com/yyz_o/bk_bishe_pi.git
synced 2025-09-07 23:21:26 +00:00
2025.5.17第一次提交,包括16号和今天,在实机上,对代码修改后的结果
This commit is contained in:
26
robot_test_code/实机测试/makefile
Normal file
26
robot_test_code/实机测试/makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
cxx := gccarm
|
||||
|
||||
#~ file_cpp := $(wildcard *.cpp)
|
||||
file_cpp := ./test_turn.cpp
|
||||
#~ file_cpp := ./test_run.cpp
|
||||
#~ file_cpp := ./test_psd.cpp
|
||||
|
||||
#~ file_o := /home/pi/usr/move.x
|
||||
file_o := /home/pi/usr/turn.x
|
||||
#~ file_o := /home/pi/usr/psd.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