#DEBUG=-ggdb
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR)
-ifdef CONFIG_WIDE_CURSES
+ifeq ($(CONFIG_WIDE_CURSES),1)
LDFLAGS=-lncursesw
CFLAGS+=-DCONFIG_WIDE_CURSES=1
else
LDFLAGS=-lncurses
endif
-ifdef CONFIG_X11
+ifeq ($(CONFIG_X11),1)
LDFLAGS+=-lX11
CFLAGS+=-DCONFIG_X11=1
endif
-VERSION=1.3
-YEAR=2008
+VERSION=1.5
+YEAR=2014
all: cm