add linear search in Makefile