adding menu item visibility to makefile