dmenu is an efficient dynamic menu for X.
In order to build dmenu you need the Xlib header files.
dmenu is installed into the /usr/local
namespace by default(if necessary as root):
make -j clean install
You can change it by setting PREFIX
(for example, install at ~/.local
):
make PREFIX=~/.local -j clean install
See the man page for details.