I am using pigpio to build C programs for raspberry pi. Annoyingly, every time I recompile, I have to to do: sudo chown root:root prog_name sudo chmod 4755 prog_name
Is there anything I can do with the build macros or something to perform these actions automatically?