diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CC ?= cc CFLAGS ?= -O2 -g -VERSION = 0.1.0-dev +VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null \ + || echo 0.1.0-dev) WARN = -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes \ -Wpointer-arith -Wvla -Wformat=2 |
