GP32 Makefiles


jlebrech

UFO Robot
Joined
Feb 25, 2003
Messages
899
Age
41
Im starting on a project and it will use quite a lot of images for the animations, and at first im thinking of making them into .c files, but the problem with that is that i have to declare every .c file inside the makefile and it take ages.

Does anyone know of a macro i can use to add all the .c files in directory and not just the .c files by themself?
 
jlebrech posted on Aug 15 2004 at 05:47 PM said:
Im starting on a project and it will use quite a lot of images for the animations, and at first im thinking of making them into .c files, but the problem with that is that i have to declare every .c file inside the makefile and it take ages.

Does anyone know of a macro i can use to add all the .c files in directory and not just the .c files by themself?
Sure..just put them all in a subdirectory and use a foreach loop in make.
 
Last edited by a moderator:
eclipse CDT can handle makefiles, but, by default, the makefile builder is targetted for gcc (linux or win), but not for arm-elf-gcc...
i'm actually trying to fix this (by extending some eclipse components) and i shall release the plugin when done
 
I recon the most tedious part of making a game is inseting images into the project, when your project has animations its alomst impossible.

anyone know of a libary to load FLCs or animated gifs?
 
jlebrech posted on Aug 17 2004 at 04:24 PM said:
I recon the most tedious part of making a game is inseting images into the project, when your project has animations its alomst impossible.

anyone know of a libary to load FLCs or animated gifs?
It seems like you are making this more tedious than it needs to be. Can you give us some more detail on what you are trying to do? Are the images in seperate files, how are they stored, format, number, etc...
 
Last edited by a moderator:
in .c files but im going to use .raw files in a zda container, it should be ok.

Just gonna modify the garfield demo:D
 
Back
Top