add tree.h, missing on linux systems
use automake and autoconf
ignore autogenerated Makefile
missing AM_CFLAGS in src/
document autoconf build