add archive option to makefile