All relative paths to the makefile will refer to your current directory, and not to the makefile directory.
Assuming that you understand what and what you want to do, it will work anyway, then you want the -f flag to indicate the makefile to use. (What is on the manual page, the manual and the output of --help .)
If instead you want to say that you want cd to another place and run make, maybe you are looking for (cd /some/path && make) ?
source share