added --version manually
I can't get argp_program_version working...
This commit is contained in:
3
Makefile
3
Makefile
@@ -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 \
|
||||
|
Reference in New Issue
Block a user