This program uses an Imakefile. xmkmf -a Short for xmkmf; make Makefiles; make includes; make depends. This generates the Makefile. Ignore errors from make depend make Create the program. This will make the remove_hosts in the current directory.