X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=ca9c60f4c1db23eca977a9fd8611a0993f6a907e;hb=22f0395ba26b3e9961e2beab323dc1c7a5aa93e7;hp=571e62d1344492c65bc723ec4de65a4778a18d3b;hpb=2850bf8a26a57d834b53fe6eb6cb11f8756a653b;p=checkmail.git diff --git a/Makefile b/Makefile index 571e62d..ca9c60f 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,26 @@ # Define if you want support for wide characters (needs libncursesw) CONFIG_WIDE_CURSES=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 -VERSION=1.2 -YEAR=2008 +ifeq ($(CONFIG_X11),1) +LDFLAGS+=-lX11 +CFLAGS+=-DCONFIG_X11=1 +endif + +VERSION=1.11 +YEAR=2018 all: cm