move ccflags definitions to lowser of the Makefile
add lib_init_sec.c to repos and refine makefile