Makefile: add textevent processing