summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-09-03 05:04:16 (GMT)
committerYann Collet <cyan@fb.com>2016-09-03 05:04:16 (GMT)
commit28f98647e3349a4a0a9c8975199aa89f2a02f6b9 (patch)
treeb94e57fc334d30a5321c4f5c4ace2094df26f507 /programs/Makefile
parentdd51ca63004b4d373f90071d12fbe8c06ef0ae1a (diff)
downloadlz4-28f98647e3349a4a0a9c8975199aa89f2a02f6b9.zip
lz4-28f98647e3349a4a0a9c8975199aa89f2a02f6b9.tar.gz
lz4-28f98647e3349a4a0a9c8975199aa89f2a02f6b9.tar.bz2
lz4 version source from lz4.h
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/programs/Makefile b/programs/Makefile
index bab49f7..4d8b391 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -34,17 +34,15 @@
# datagen : generates synthetic data samples for tests & benchmarks
# ##########################################################################
-RELEASE ?= r132
-
+DESTDIR ?=
+PREFIX ?= /usr/local
BINDIR := $(PREFIX)/bin
MANDIR := $(PREFIX)/share/man/man1
LZ4DIR := ../lib
-DESTDIR ?=
-PREFIX ?= /usr/local
CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes
-CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_ -DLZ4_VERSION=\"$(RELEASE)\"
+CPPFLAGS:= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)