REMOTE_USER_MACHINE = pi@raspi4-main default: @echo 'Targets:' @echo ' build' @echo ' publish' @echo ' copy' @echo ' ssh' build: dotnet build publish: dotnet publish -c Release -r linux-arm --self-contained true /p:PublishSingleFile=true copy: scp -r bin/Release/net6.0/linux-arm/publish/* $(REMOTE_USER_MACHINE):/home/pi/projects/BlinkTutorial ssh: ssh $(REMOTE_USER_MACHINE)