add Makefile for table generation