[makefile] static lib replace (-r) instead of append (-a)