From 925c0658282d302162b48241694a54c85c44610b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Apr 2015 19:32:02 +0200 Subject: makefile: static lib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9e75ef2..cc31abe 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,12 @@ LIB_VERSION = ${LIB_MAJOR}.${LIB_MINOR} all: bus -bus: bin/bus bin/libbus.so.$(LIB_VERSION) bin/libbus.so.$(LIB_MAJOR) bin/libbus.so +bus: bin/bus bin/libbus.so.$(LIB_VERSION) bin/libbus.so.$(LIB_MAJOR) bin/libbus.so bin/libbus.a + +bin/libbus.a: obj/bus-fpic.o + @echo AR $@ + @mkdir -p bin + @ar rcs $@ $^ bin/bus: obj/cmdline-nofpic.o obj/bus-nofpic.o @echo CC -o $@ -- cgit v1.2.3-70-g09d2