diff options
Diffstat (limited to 'make/libtool.mk')
-rw-r--r-- | make/libtool.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/make/libtool.mk b/make/libtool.mk index 3287d5aa..b9fda1d5 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -57,6 +57,14 @@ define libcompile $(call fixdeps,$(basename $(call src_to_obj,$(1)))) endef +# 1 2 +# Usage: $(call makeslib,objs,library) +define makeslib + $(RM) $2 + ar cru $(2) $(1) + ranlib $(2) +endef + # 1 2 3 4 5 # Usage: $(call makelib,objs,library,current,revision,age) define makelib |