summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-07-24 09:24:49 +0100
committerJens Axboe <axboe@kernel.dk>2019-07-24 09:11:44 -0600
commitb42c59d7afc79370cf0140d5b9978b1e8c350408 (patch)
tree9c6ee8331cda532bf93a2aa3692d360e3d03d4ed /src
parent63c832a4feb19c945d9e1f0c83cb75f2044f291a (diff)
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 <stefanha@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
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.