From f7cbc8f9b5fe5debc38b460fd5e03645a9a392c5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 13 Jul 2016 21:10:15 +0200 Subject: Update makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile.in | 7 ++++++- mk/lang-c.mk | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 64288e6..7462287 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,11 +40,16 @@ PKGNAME = libclut # Package information. _PROJECT = libclut -_VERSION = 1.0 +_VERSION = 0.1 # Used by mk/lang-c.mk _C_STD = c99 _H = libclut +_HEADER_DIRLEVELS = 1 +_LIB = libclut +_OBJ_libclut = libclut +_SO_VERSION_libclut = $(_VERSION) +_SO_MAJOR_libclut = $(shell echo $(_SO_VERSION_libclut) | cut -d . -f 1) # Used by mk/texinfo.mk _TEXINFO_DIRLEVELS = 2 diff --git a/mk/lang-c.mk b/mk/lang-c.mk index 25d2a7f..e96c0b3 100644 --- a/mk/lang-c.mk +++ b/mk/lang-c.mk @@ -218,7 +218,7 @@ aux/%.pic.o: $(v)src/%.c $(foreach H,$(__H),$(v)$(H)) bin/%.so: @$(PRINTF_INFO) '\e[00;01;31mLD\e[34m %s\e[00;32m$A\n' "$@" @$(MKDIR) -p bin - $(Q)$(__LD) -shared -Wl,-soname,$*.so.$(_SO_MAJOR_$($*)) -o $@ $^ $(__LD_POST) #$Z + $(Q)$(__LD) -shared -Wl,-soname,$*.so.$(_SO_MAJOR_$*) -o $@ $^ $(__LD_POST) #$Z @$(ECHO_EMPTY) # Link object files into a command. -- cgit v1.2.3-70-g09d2