X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=edd5e8d467246c07083f88af24dd3281fed37c86;hb=8874e99d73f9dc55fdbe1bebde24305e878eabfa;hp=1016cf88f18efa9a101da4c509a825728cd3261e;hpb=3d1fee1c4b8d13f0d3eebb3cc28bcb790e4fe18d;p=checkmail.git diff --git a/Makefile b/Makefile index 1016cf8..edd5e8d 100644 --- a/Makefile +++ b/Makefile @@ -4,23 +4,30 @@ CONFIG_WIDE_CURSES=1 # Define if you want XKB led controls and on-screen display via OSDD CONFIG_X11=1 +# Define if you want watching mail changes by inotify +CONFIG_INOTIFY=1 + #DEBUG=-ggdb CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Winline $(DEBUG) -std=gnu99 -DVERSION=$(VERSION) -DYEAR=$(YEAR) ifeq ($(CONFIG_WIDE_CURSES),1) -LDFLAGS=-lncursesw +LDLIBS=-lncursesw CFLAGS+=-DCONFIG_WIDE_CURSES=1 else -LDFLAGS=-lncurses +LDLIBS=-lncurses endif ifeq ($(CONFIG_X11),1) -LDFLAGS+=-lX11 +LDLIBS+=-lX11 CFLAGS+=-DCONFIG_X11=1 endif -VERSION=1.8 -YEAR=2014 +ifeq ($(CONFIG_INOTIFY),1) +CFLAGS+=-DCONFIG_INOTIFY=1 +endif + +VERSION=1.12 +YEAR=2023 all: cm