Makefile question

support for the ARM toolchain
Post Reply
n315on
Posts: 4
Joined: Wed Feb 24, 2010 1:49 pm

Makefile question

Post by n315on » Wed Feb 24, 2010 2:06 pm

Hello All,

I have been slowly learning to program the DS over the last couple of months, and got a couple of simple program going (Craps game and tank demo). Got to say, I really enjoy the challange of programming, thanks to all that put thier time into developing these libs/tools.

My question is should I be using the standard Makefile supplied in the current template, or do I need to modify it based on what I am doing (sprites/sound,etc). For example, the MAXMOD documentation has you edit the make file. To be honest, I have been making it work by using the makefiles in the examples provided, and/or manually doing conversions using WINGRIT and the mmutil.exe.

Thanks,
Greg

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: Makefile question

Post by vuurrobin » Wed Feb 24, 2010 7:16 pm

the makefiles in the examples are set up to work without (much) modification, so people can work on projects even if they don't know anything about makefiles. that said, if you want to modify the makefile to include grit, maxmod or anything, then go ahead.

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Makefile question

Post by WinterMute » Thu Feb 25, 2010 4:42 am

It's good practice to avoid manual conversions if at all possible - automation makes it easier to replicate a build and helps avoid human error.

The template & example Makefiles are there for copying as needed so that gnu make novices don't have to spend a lot of time learning the make language in order to build simple projects. You can and should modify these as needed for projects which need extra customisation.
Help keep devkitPro toolchains free, Donate today

Personal Blog

n315on
Posts: 4
Joined: Wed Feb 24, 2010 1:49 pm

Re: Makefile question

Post by n315on » Thu Feb 25, 2010 1:00 pm

Thanks for the feedback. I'll keep using the examples, and try to not use manual conversion as much.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests