Move to two makefiles and add static content rule