GNU Makefile treating each recipe line as sub-shell command without continuation character
问题 I am trying to get the target_compile to work. copy_shared_object: cp shared_object.so ${CURRENT_DIR} PROJECT_SIM_OPTS += -LDFLAGS -L${CURRENT_DIR},-lm -load target_compile: copy_shared_object actual_compile_with_sim_opts . . . actual_compile_with_sim_opts: . . . I am getting the Error despite the fact that I have not added ;\ on the first line starting with cp make: PROJECT_SIM_OPTS: Command not found makefile:282: recipe for target 'copy_shared_object' failed make: *** [copy_shared_object]