More work on the Makefile system.
Started adding GPIO calls to the daemon.