diff options
author | Bert <ber.t@gmx.com> | 2011-01-23 17:27:44 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-23 17:27:44 +0100 |
commit | bce599038ceac361c09e9d715e8c94716d6c3d0c (patch) | |
tree | 90f4004e5180611c5ac9465996ad03579f7bb689 | |
parent | fdf24d468135327f16ac568d7310f21b167c3208 (diff) |
Moved VERSION macro into Makefile
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | sxiv.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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 @@ -21,8 +21,6 @@ #include "config.h" -#define VERSION "git-20110123" - #define ABS(a) ((a) < 0 ? (-(a)) : (a)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define MAX(a,b) ((a) > (b) ? (a) : (b)) |