mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-27 17:50:19 +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
|
SHLIB = libubb.so
|
||||||
LIBVERSION = 0.0.0
|
LIBVERSION = 0.0.0
|
||||||
|
|
||||||
OBJS = ubb.o swuart.o
|
OBJS = ubb.o swuart.o mmcclk.o
|
||||||
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h
|
HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h ubb/mmclk.h
|
||||||
|
|
||||||
.PHONY: all clean spotless
|
.PHONY: all clean spotless
|
||||||
|
|
||||||
all: $(SHLIB).$(LIBVERSION)
|
all: $(SHLIB)
|
||||||
|
|
||||||
$(SHLIB).$(LIBVERSION): $(SHLIB)
|
|
||||||
/sbin/ldconfig -n .
|
|
||||||
|
|
||||||
$(SHLIB): $(LIB)
|
$(SHLIB): $(LIB)
|
||||||
$(LD) -shared -soname $@.$(LIBVERSION) -o $@ \
|
$(LD) -shared -soname $@.$(LIBVERSION) -o $@ \
|
||||||
@ -41,4 +38,4 @@ clean:
|
|||||||
rm -f $(OBJS)
|
rm -f $(OBJS)
|
||||||
|
|
||||||
spotless: clean
|
spotless: clean
|
||||||
rm -f $(LIB) $(SHLIB) $(SHLIB).$(LIBVERSION)
|
rm -f $(LIB) $(SHLIB)
|
||||||
|
Loading…
Reference in New Issue
Block a user