diff --git a/Makefile b/Makefile index 96570d8a9196fcebb022fc02cd9ffe63981642b1..bce728bccb8376424f5a609c009c9ea5ff9b926f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ TARGET=sha512toc SHA512TOC_VERSION=$(shell git describe | sed -e 's/^v//;s/-/_/g') SOURCES=Makefile README.md sha512.c sha512.h \ sha512toc.c sha512toc.h sha512toc.spec -CFLAGS=-Wall -Werror -I. +CFLAGS=-Wall -Werror -I. -g VERSION=-DSHA512TOC_VERSION='"$(SHA512TOC_VERSION)"' all: sha512toc