Added Makefile. Using portable success code when exiting.