From ce74e9f8543e5f63e085a0f8c76c579424d778a9 Mon Sep 17 00:00:00 2001 From: Pieter Kempeneers Date: Mon, 28 Jun 2021 14:01:13 +0200 Subject: [PATCH] mkdir to install lib in custom directory with prefix --- core/c/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/core/c/Makefile b/core/c/Makefile index 1002430..84368dc 100644 --- a/core/c/Makefile +++ b/core/c/Makefile @@ -252,6 +252,7 @@ doc: $(LDIR)/$(TARGET)_python.a $(BUILDDIR)/doc/xml/mial_doxy2swig.i all: build doc install: + mkdir -p $(prefix)/lib cp -a $(LDIR)/$(TARGET)_*.so $(prefix)/lib/ mkdir -p $(prefix)/include/$(BASE)/ cp -a mialtypes.h $(prefix)/include/$(BASE)/