From bce599038ceac361c09e9d715e8c94716d6c3d0c Mon Sep 17 00:00:00 2001 From: Bert Date: Sun, 23 Jan 2011 17:27:44 +0100 Subject: Moved VERSION macro into Makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 326ecd4..253d015 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ all: sxiv +VERSION=git-20110123 + CC?=gcc PREFIX?=/usr/local -CFLAGS+= -std=c99 -Wall -pedantic -g +CFLAGS+= -std=c99 -Wall -pedantic -DVERSION=\"$(VERSION)\" LDFLAGS+= LIBS+= -lX11 -lImlib2 -- cgit v1.2.3-54-g00ecf