diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-16 19:32:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-16 19:32:09 +0200 |
commit | 925c0658282d302162b48241694a54c85c44610b (patch) | |
tree | 72b8437caedf8e83acd4154fde22296af1dd7574 | |
parent | makefile: symlinks for .so file (diff) | |
download | bus-925c0658282d302162b48241694a54c85c44610b.tar.gz bus-925c0658282d302162b48241694a54c85c44610b.tar.bz2 bus-925c0658282d302162b48241694a54c85c44610b.tar.xz |
makefile: static lib
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 $@ |