attempt at makefile generation