modified makefiles with proper compile flag; removed extra debug flags