Simple DOM parser for Makefiles