add static option to Makefile