break recipes apart, convert to Makefile/build setup