add global_cc_flags for main makefile and send thiese flags into other makefiles
changed run.sh in accordance with chages with the structure of the project and new logic of making project