add shiny new Makefile
don't fail where we should die
fix ar invocation
ignore static libraries
implement clean and realclean targets