mirror of
https://gitee.com/yyz_o/bk_bishe_pi.git
synced 2025-09-07 23:21:26 +00:00
23 lines
294 B
Makefile
23 lines
294 B
Makefile
|
|
cxx := gccarm
|
|
#~ cxx := g++sim
|
|
|
|
file_cpp := $(wildcard *.cpp)
|
|
file_o := /home/pi/usr/maze2.x
|
|
#~ file_o := ../maze2.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
|