]> mj.ucw.cz Git - checkmail.git/blobdiff - Makefile
ChangeLog: v1.11
[checkmail.git] / Makefile
index 571e62d1344492c65bc723ec4de65a4778a18d3b..ca9c60f4c1db23eca977a9fd8611a0993f6a907e 100644 (file)
--- 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