# # basic makefile for programs using "ncurses" library and its "menu" library # # (also allows setting some additional C flags with STD, OPT, and EXTRA_CFLAGS) # OPT = -O CFLAGS = -Wall -pedantic $(STD) $(OPT) $(EXTRA_CFLAGS) # -lmenu only needed if using menu functions, but harmless? LDLIBS = -lncurses -lmenu