encmain: Add rudimentary support for input via stdin
gitignore: Add object files to the list of ignored files

Running the Makefile outside bin or build leads to creation of
these files in a place that does not get ignored.
Merge pull request #4 from jeeb/stdin_and_gitignore

Two minor additions