From 935c9a3e706e3ed4b222e3eceb7374f11de3af22 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Tue, 3 Oct 2017 12:54:40 +0200 Subject: [PATCH] Makefile: Allow user to set PREFIX --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7379002..d94a391 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -BIN = $(DESTDIR)/usr/bin +BINDIR ?= $(PREFIX)/bin +BIN = $(DESTDIR)/$(BINDIR) # With pthreads override CXXFLAGS+= -DMAXHITS=1000 -DTHREAD -funroll-loops -Lsamtools -Isamtools -Lgzstream -Igzstream -O3 -m64 -march=native -g # Without pthreads