I was trying to run classic Blink program on raspberrypi by remotely deploying the code. This is the output that i got.
cd '/home/pi/Documents/netbeansProject/'
/usr/bin/make -f Makefile CONF=Debug
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'. Stop.
cd '/home/pi/Documents/netbeansProject/Welcome_1/'
/usr/bin/make -f Makefile CONF=Debug
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'. Stop.
So I did this and the issue is resolved
Project properties > Build > Build host > Host configuration check > Selected the host > Properties > Access project files via
and then selected SFTP(it was System level file sharing earlier) .
I don't know the difference between the two yet, but it worked for me. As i noted earlier, the files weren't copying to the remote host with SFTP.