Date:2013-01-07 20:28:59 (11 years 2 months ago)
Author:Werner Almesberger
Commit:127e18d7edd3747435ba8ad74ffe8b5d3a4e54b5
Message:libubb/Makefile: get rid of version bureaucracy (suggested by Kyak)

Files: libubb/Makefile (2 diffs)

Change Details

libubb/Makefile
1818CFLAGS = -g -Wall -fPIC -Iinclude
1919LIB = libubb.a
2020SHLIB = libubb.so
21LIBVERSION = 0.0.0
2221
2322OBJS = ubb.o swuart.o mmcclk.o
2423HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h ubb/mmcclk.h
...... 
2827all: $(SHLIB)
2928
3029$(SHLIB): $(LIB)
31        $(LD) -shared -soname $@.$(LIBVERSION) -o $@ \
30        $(LD) -shared -soname $@ -o $@ \
3231            --whole-archive $^ || { rm -f $@; exit 1; }
3332
3433$(LIB): $(OBJS)

Archive Download the corresponding diff file

Branches:
master



interactive