blob: bc670daaeb2532e295a35927e7e9ba5861d68ef1 (
plain)
1
2
3
4
5
6
7
8
9
|
%.o: .libs/%.a %.la
rm -f $<.tmp/*.o
if test -d $<.tmp; then rmdir $<.tmp; fi
mkdir $<.tmp
(cd $<.tmp && $(AR) x ../../$<)
$(LD) -o $@ -r $<.tmp/*.o
rm -f $<.tmp/*.o && rmdir $<.tmp
.PHONY: $(LTLIBRARIES:%.la=.libs/%.a)
|