]> mj.ucw.cz Git - checkmail.git/blobdiff - Makefile
Released version 1.7
[checkmail.git] / Makefile
index 2194f13e163a6c6a88403761c748349a8c9a0c86..074cb25e4d8150b675d6c7feb23ea688f91e0bf6 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.4
-YEAR=2010
+VERSION=1.7
+YEAR=2014
 
 all: cm