Deduce version from NEWS.
This commit is contained in:
parent
72b4e4b127
commit
645d00c711
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -24,9 +24,9 @@
|
|||
#
|
||||
# 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
|
||||
CCFLAGS+=-std=c99 -D _DEFAULT_SOURCE -Wpedantic -O2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue