X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=163086dd6e1e7202c926ea86e8ccfcaa4817db23;hb=d2e14814e63e4b6950b65098d32d3aa8f27a0d4c;hp=9a26d0ac75ca0aba87f470c5b618bce59df82f53;hpb=27145a85dab4cc493a9621903da8ecbdc2e83a14;p=checkmail.git diff --git a/Makefile b/Makefile index 9a26d0a..163086d 100644 --- a/Makefile +++ b/Makefile @@ -1,26 +1,26 @@ # Define if you want support for wide characters (needs libncursesw) CONFIG_WIDE_CURSES=1 -# Define if you want XKB led controls -CONFIG_X_LEDS=1 +# Define if you want XKB led controls and on-screen display via OSDD +CONFIG_X11=1 #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_X_LEDS +ifeq ($(CONFIG_X11),1) LDFLAGS+=-lX11 -CFLAGS+=-DCONFIG_X_LEDS=1 +CFLAGS+=-DCONFIG_X11=1 endif -VERSION=1.3 -YEAR=2008 +VERSION=1.5 +YEAR=2014 all: cm