aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
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 $@