Files
bk_bishe_pi/robot_test_code/实机测试/makefile

29 lines
458 B
Makefile

cxx := gccarm
#~ cxx := gpparm
#~ file_cpp := $(wildcard *.cpp)
#~ file_cpp := ./test_turn.cpp
#~ file_cpp := ./test_turn2.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