Add Makefile files that written by hand and some gcc macro files
Fix sg_atomic_dec_and_test bug
Fix merge error