cxx := g++sim file_cpp := $(wildcard *.cpp) file_o := ../eyesim/all_test01/maze.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