implemented weak Makefile, needs verification