diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,9 +1,9 @@ -PW_SHA256 := 6675178bf43216cf302d4291269b51dc87eb87235e798c4e3e30b742e458d828 +PW_SHA256 := 6183b695423a69fdd15f56a31e013e703736f37806499c158566c51c4aef654a NEEDED_CFLAGS := -std=c99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ ifeq ($(shell sha256sum pw.c),$(PW_SHA256) pw.c) -PW_VERSION := 1 +PW_VERSION := 2 else -PW_VERSION := 1-$(shell git rev-parse --short HEAD) +PW_VERSION := 2-$(shell git rev-parse --short HEAD) PW_VERSION := $(PW_VERSION)$(shell git diff --quiet || printf -- "-dirty") endif CFLAGS ?= -g -O2 -W -Wall |