We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ad1a8c + 5f20629 commit 4697eb1Copy full SHA for 4697eb1
Makefile
@@ -1,4 +1,5 @@
1
TARGET = unclutter
2
+VERSION = 1.4
3
SDIR = src
4
IDIR = include
5
ODIR = obj
@@ -13,7 +14,7 @@ CC = gcc
13
14
LD = $(CC)
15
PKG_CONFIG = pkg-config
16
-CPPFLAGS += -D'__VERSION="$(shell git describe --all --long --always)"' "-I$(IDIR)"
17
+CPPFLAGS += -D'__VERSION="${VERSION}"' "-I$(IDIR)"
18
19
CFLAGS += -std=gnu99
20
CFLAGS += -Wall -Wundef -Wshadow -Wformat-security
0 commit comments