Build archives with more than one object file

Use $^ (all prerequisites), not $< (first prerequisite) to list object
files for ar.