diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile.in | 7 | ||||
-rw-r--r-- | 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. |