Browse Source

Moved VERSION macro into Makefile

master
Bert 14 years ago
parent
commit
bce599038c
2 changed files with 3 additions and 3 deletions
  1. +3
    -1
      Makefile
  2. +0
    -2
      sxiv.h

+ 3
- 1
Makefile View File

@@ -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



+ 0
- 2
sxiv.h View File

@@ -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))


||||||
x
 
000:0
Loading…
Cancel
Save