added gitignore with default.cfg

NOTE: add -O2 to cflags since CodeGen with O0 is broken