diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/Makefile | 15 | ||||
-rw-r--r-- | programs/lz4cli.c | 2 |
2 files changed, 9 insertions, 8 deletions
diff --git a/programs/Makefile b/programs/Makefile index 05e98d2..d8d38f7 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -30,13 +30,14 @@ # fullbench32: Same as fullbench, but forced to compile in 32-bits mode # ########################################################################## -RELEASE=r121 -DESTDIR= -PREFIX=/usr -CC:=$(CC) -CFLAGS?= -O3 -CFLAGS+= -std=c99 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" -FLAGS= -I.. $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) +RELEASE=r122 + +DESTDIR?= +PREFIX ?= /usr +CC := $(CC) +CFLAGS ?= -O3 +CFLAGS += -std=c99 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\" +FLAGS = -I.. $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man/man1 diff --git a/programs/lz4cli.c b/programs/lz4cli.c index e9b7506..1bbeda0 100644 --- a/programs/lz4cli.c +++ b/programs/lz4cli.c @@ -109,7 +109,7 @@ //**************************** #define COMPRESSOR_NAME "LZ4 Compression CLI" #ifndef LZ4_VERSION -# define LZ4_VERSION "v1.2.0" +# define LZ4_VERSION "r122" #endif #define AUTHOR "Yann Collet" #define WELCOME_MESSAGE "*** %s %i-bits %s, by %s (%s) ***\n", COMPRESSOR_NAME, (int)(sizeof(void*)*8), LZ4_VERSION, AUTHOR, __DATE__ |