From b42c59d7afc79370cf0140d5b9978b1e8c350408 Mon Sep 17 00:00:00 2001 From: Stefan Hajnoczi Date: Wed, 24 Jul 2019 09:24:49 +0100 Subject: src/Makefile: honor the caller's includedir and libdir The top-level makefile passes in includedir and libdir so we should not override them. Signed-off-by: Stefan Hajnoczi Signed-off-by: Jens Axboe --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 954e05e..aa93199 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,6 @@ prefix ?= /usr -includedir=$(prefix)/include -libdir=$(prefix)/lib +includedir ?= $(prefix)/include +libdir ?= $(prefix)/lib CFLAGS ?= -g -fomit-frame-pointer -O2 override CFLAGS += -Wall -I. -- cgit