make file edited for gdb support