From f27108a4b114c9d83de25d2beba5c7c0a1d1c20b Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 1 Dec 2015 01:44:21 +0100 Subject: Add action to show metastore version: -v / --version. Fixes #36. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b519a99..3c67114 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,11 @@ # Generic settings # PROJ_DIR := $(dir $(lastword $(MAKEFILE_LIST))) +METASTORE_VER := $(shell "$(PROJ_DIR)"/version.sh) CC = gcc CFLAGS += -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 +CFLAGS += -DMETASTORE_VER="\"$(METASTORE_VER)\"" LDFLAGS += LIBS += -lbsd INCLUDES = -- cgit v1.2.1