tri.c
various fixes that I no longer understand
config options
makefile to drive config options
update readme