refactor ncurses Makefile
refactor bash Makefile