update Makefile
update with function numbering fix