Makefile: remove duplicate src/longopt.o

export longopt_get. This is used by all frontends.
Fixes GH #1121

Also remove GEN_CONFIGS, GEN_MAKEFILES from archclean.