after exhaustive attempt, to some extend, i managed to compile a Makefile in Programmer's Notepad 2. the problem is, i still dont know how to output *.o *.hex in separate folder. *.o and *.hex now generated in the same folder as Makefile and source codes *.c *.h now this is a mess, i need them to be on separate folder ie <project file>\default like how AVR Studio did it, whats the setting? attached is my current setting i dont know what keyword %d\default failed to compile. help.