converted to Makefile