同步毕设代码
This commit is contained in:
22
实机代码/makefile
Normal file
22
实机代码/makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user