add main.o
fix bug, lose of #endif
fix main.o:
fix bug