mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-12-28 02:53:21 +02:00
ubblib/Makefile: don't generate the versioned shared library
We only need libubb.so for installation.
This commit is contained in:
parent
b557adf95e
commit
2004d8c90a
@ -20,15 +20,12 @@ LIB = libubb.a
|
||||
SHLIB = libubb.so
|
||||
LIBVERSION = 0.0.0
|
||||
|
||||
OBJS = ubb.o swuart.o
|
||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h
|
||||
OBJS = ubb.o swuart.o mmcclk.o
|
||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h ubb/mmclk.h
|
||||
|
||||
.PHONY: all clean spotless
|
||||
|
||||
all: $(SHLIB).$(LIBVERSION)
|
||||
|
||||
$(SHLIB).$(LIBVERSION): $(SHLIB)
|
||||
/sbin/ldconfig -n .
|
||||
all: $(SHLIB)
|
||||
|
||||
$(SHLIB): $(LIB)
|
||||
$(LD) -shared -soname $@.$(LIBVERSION) -o $@ \
|
||||
@ -41,4 +38,4 @@ clean:
|
||||
rm -f $(OBJS)
|
||||
|
||||
spotless: clean
|
||||
rm -f $(LIB) $(SHLIB) $(SHLIB).$(LIBVERSION)
|
||||
rm -f $(LIB) $(SHLIB)
|
||||
|
Loading…
Reference in New Issue
Block a user