diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ FILES:=$(wildcard *.c) FILES:=$(FILES:.c=.o) VERSION:=$(shell git describe --tags --abbrev=0) +GIT_VERSION:="$(shell git describe --tags --always) ($(shell git log --pretty=format:%cd --date=short -n1))" +CFLAGS += -DVERSION=\"${GIT_VERSION}\" .PHONY: install clean uninstall |