X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=9a26d0ac75ca0aba87f470c5b618bce59df82f53;hb=27145a85dab4cc493a9621903da8ecbdc2e83a14;hp=571e62d1344492c65bc723ec4de65a4778a18d3b;hpb=2850bf8a26a57d834b53fe6eb6cb11f8756a653b;p=checkmail.git diff --git a/Makefile b/Makefile index 571e62d..9a26d0a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ # 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 + #DEBUG=-ggdb CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR) @@ -11,7 +14,12 @@ else LDFLAGS=-lncurses endif -VERSION=1.2 +ifdef CONFIG_X_LEDS +LDFLAGS+=-lX11 +CFLAGS+=-DCONFIG_X_LEDS=1 +endif + +VERSION=1.3 YEAR=2008 all: cm