From: Walter Fetter Lages Date: Sat, 5 Dec 2020 07:08:19 +0000 (-0300) Subject: Add install target to Makefile. X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=8770ea33ebe47fb1627223e765732962da22130f;p=BNO055_driver.git Add install target to Makefile. --- 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