Created seperate all and debug build
Fixed build all, fixed program not returning errorcode in some cases of failure.
Merge pull request #18 from TheMassController/master

Fixed return code, updated Makefile