Deduce version from NEWS.

This commit is contained in:
Eric S. Raymond 2017-06-29 18:25:45 -04:00
parent 72b4e4b127
commit 645d00c711

View file

@ -24,9 +24,9 @@
# #
# To build with save/resume disabled, pass CCFLAGS="-D ADVENT_NOSAVE" # To build with save/resume disabled, pass CCFLAGS="-D ADVENT_NOSAVE"
.PHONY: debug indent release refresh dist linty html clean VERS=$(shell sed -n <NEWS '/^[0-9]/s/:.*//p' | head -1)
VERS=1.0 .PHONY: debug indent release refresh dist linty html clean
CC?=gcc CC?=gcc
CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic -O2 CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic -O2