add KMS copyright to Makefile

The Makefiles were pulled out of the eeg-mouse project and made generic.
The eeg-mouse Makefile in turn was based on previous solo efforts of KMS.
fixed "make upload" and removed duplicate "main" method