]> mj.ucw.cz Git - checkmail.git/blobdiff - Makefile
ChangeLog: v1.11
[checkmail.git] / Makefile
index 18d093b7dec313a8672d53eea1446cea3222a6e8..ca9c60f4c1db23eca977a9fd8611a0993f6a907e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,20 +7,20 @@ 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_X11
+ifeq ($(CONFIG_X11),1)
 LDFLAGS+=-lX11
 CFLAGS+=-DCONFIG_X11=1
 endif
 
-VERSION=1.3
-YEAR=2008
+VERSION=1.11
+YEAR=2018
 
 all: cm