add Makefile support