From 8770ea33ebe47fb1627223e765732962da22130f Mon Sep 17 00:00:00 2001 From: Walter Fetter Lages Date: Sat, 5 Dec 2020 04:08:19 -0300 Subject: [PATCH] Add install target to Makefile. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f89f87b..5d1f9b3 100644 --- a/Makefile +++ b/Makefile @@ -32,3 +32,8 @@ doc: html latex man html latex man: Doxyfile $(SRCS) bno055.h doxygen + +install: + install -d $(PREFIX)/lib$(BITS) $(PREFIX)/include + install -m 644 libbno055.a $(PREFIX)/lib$(BITS) + install -m 644 bno055.h $(PREFIX)/include -- 2.12.0