Posts

Showing posts from April, 2011

Improved Makefile For PSP C/C++ Game Programming

This Makefile improves on the one included in the default PSPSDK from ps2dev.org (which always seems to be down by the way?). Improvements: Changes in header files cause recompilation of source files (if needed). You may not realize this, but unless you have a Makefile dependency on each header file that your C/C++ file includes, when that header file changes (and it will, if you wrote it), you will need to clean your project and recompile. This Makefile avoids all that mess by managing it for you with mini Makefiles called dependency files (.d) Easy addition of icons to your eboot . With ICON0.PNG and title screen backdrop for menu with PIC1.PNG etc (uncomment and change the names of ICON or PIC to your image if you want to use it). Addition of PSPSDK tags for vim and your project With "make sdk_ctags" to build the PSPSDK tags file and there already is automatic tag generation for your local project files when you compile (it will generate an ignored error if y