Page 1 of 1

Makefile

Posted: Thu May 13, 2010 4:02 pm
by dheart88
I'm a student and currently, I'm making a DS game as my final project.

Where can I get the complete learning resource about makefile? For a while, I still don't get much problem but later, I have to put information about makefile in my final project report.

Re: Makefile

Posted: Thu May 13, 2010 4:24 pm
by vuurrobin
you probably want the gnu make manual:
http://www.gnu.org/software/make/manual/make.html

although the Build System page on the devkitPro wiki is also worth a look:
http://wiki.devkitpro.org/index.php/Build_System

Re: Makefile

Posted: Mon Jul 12, 2010 4:24 pm
by GSGeek
Hello,

I've just completed an NDS development project as a term project for a course in Real-Time System Design and I found that there is a lot more happening in an NDS Makefile than what's done for an average, run-of-the-mill entreprise PC app:

a) The makefile does the usual compiling and linking passes, although it has to do it to produce two executable files: one for the ARM7 and on for the ARM9 processor.

b) The makefile does the necessary data crunching to bitmap files (backdrops, sprites, etc.) so they are linked in the object file for fast drawing at run time.

c) The makefiles wraps up all the binary, icon file and application infos into a neat app.nds file which is easy to copy to a slot-0 cart.

That's the big picture about it: there is a lot happening in a single makefile. I still haven't got into the details.

Enjoy the Makefile - it's powerful! :)

Re: Makefile

Posted: Sat Sep 04, 2010 10:14 am
by dheart88
Thx.. my makefile is complete now...

Re: Makefile

Posted: Mon Sep 06, 2010 7:04 pm
by ShotgunNinja
Sweet! I'd like to see your project when it's finished/near-finished. I'm planning on doing the same thing for my senior proj.