fix define guard for the case _FILE_OFFSET_BITS is not defined by compiler
add Makefile
add .gitignore