Hello I want to strat baremetall C whit a ATmega micro chip

Hello !
I dont know where to start in the IDE honsetly, I want to make C codes and upload that to a ATmega328P processor with avrdude. How can I write my own Make files ?
many thanks in advance

There are no “Makefiles” when you use PlatformIO. It’s a PlatformIO project.