add archive target to makefile.