Syntax error in Makefile: end of file unexpected (expecting "fi")
You have an extra space after the ending backslash, at the end of the second cp
command. For this reason, \
no longer acts as a line continuation and the fi
on the next line is not passed to sh