Makefile: add the purge option

This option purges all of the erlang dependencies.