Makefile improvements
Arch TU eschwartz said on the Arch forum:
Looking at the upstream Makefile, it does not respect either CFLAGS or LDFLAGS. Please ask the upstream developer to use CFLAGS ?= ... to only use those optimizing CFLAGS when the user did not specify their own CFLAGS, to stop using LFLAGS in order to hardcode -shared as this abstraction is pointless (just pass -shared explicitly), and to include LDFLAGS.
Actually by depending on blip_buf.o instead of the .c file, the builtin pattern rules for Make would be used to build the .o file from the .c file, which would automatically handle support for CFLAGS. However, there is no builtin pattern rule to build a shared library, mostly because there isn't a decent way to pattern this I guess.
Even so, building the .o file and then the shared library is somewhat traditional. I guess it matters more for incremental builds when there is more than one source file...
Warepire said on GitHub:
[...] modify the makefile of blip_buf to provide an install target.