mirror of
https://gitee.com/yyz_o/bk_bishe_pi.git
synced 2025-09-07 23:21:26 +00:00
20 lines
250 B
Makefile
20 lines
250 B
Makefile
|
|
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 |