added --version manually

I can't get argp_program_version working...
This commit is contained in:
Lexxy Fox
2023-11-02 13:02:33 -05:00
parent a32edb4eec
commit 8404b1695c
2 changed files with 6 additions and 5 deletions

View File

@@ -1,8 +1,6 @@
# Options (e.g. `CFLAGS=-DHAVE_ARGP make`)
# HAVE_ARGP: use `argp` for argument parsing.
VERSION ?= 9.0.1
prefix ?= /usr/local
exec_prefix ?= $(prefix)
bindir ?= $(exec_prefix)/bin
@@ -19,7 +17,6 @@ RM ?= rm -f
CPPFLAGS := \
-D_FORTIFY_SOURCE=2 \
-DVERSION=$(VERSION) \
$(CPPFLAGS)
OFLAGS := -O3 \
-falign-functions=1 \