fix gitignore and rm .o and .d files