Split lex file in a main and change Makefile