makefile for tables