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 | ||
---|---|---|
18 | 18 | CFLAGS = -g -Wall -fPIC -Iinclude |
19 | 19 | LIB = libubb.a |
20 | 20 | SHLIB = libubb.so |
21 | LIBVERSION = 0.0.0 | |
22 | 21 | |
23 | 22 | OBJS = ubb.o swuart.o mmcclk.o |
24 | 23 | HDRS = ubb/ubb.h ubb/regbase.h ubb/regs4740.h ubb/swuart.h ubb/mmcclk.h |
... | ... | |
28 | 27 | all: $(SHLIB) |
29 | 28 | |
30 | 29 | $(SHLIB): $(LIB) |
31 | $(LD) -shared -soname $@.$(LIBVERSION) -o $@ \ | |
30 | $(LD) -shared -soname $@ -o $@ \ | |
32 | 31 | --whole-archive $^ || { rm -f $@; exit 1; } |
33 | 32 | |
34 | 33 | $(LIB): $(OBJS) |
Branches:
master