From 7ce22f6135cdbbbb532b98ad64c58968abe1a35f Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 16 Mar 2020 15:26:52 +0100 Subject: [PATCH] fixed make vars to be consistent with other lib makefiles --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 293c8ce..e5ca6eb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ HDRS := $(wildcard *.hpp) -PREFIX ?= /usr/local/include + +PREFIX ?= /usr/local +INCLUDEDIR ?= $(PREFIX)/include install: $(HDRS) - mkdir -p $(PREFIX)/sc - install -c -m 0666 $(HDRS) $(PREFIX)/sc + mkdir -p $(INCLUDEDIR)/sc + install -c -m 0666 $(HDRS) $(INCLUDEDIR)/sc