add -L and -a code to Makefile
Merge pull request #31 from cjihrig/tests

Add -L and -a code to Makefile