Merge pull request #120 from heuripedes/master

(pj64tosrm) Improve arg handling and add export support
Fixing segfault when less than 4 controllers set on load
Merge pull request #121 from OmniBlade/master

Fixing segfault when less than 4 controllers set on load
Some cleanups to Makefile
(Rice) Don't need osal_files
Cleanups to Makefile
Cleanups to Makefile
Refactor Makefile
(Makefile) Rename INCDIRS to INCFLAGS
Cleanup Makefile
Fixup Makefile
Fix overflow and improve EepromCommand()