gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > [PA] include bins

#75152 - mlequim - Fri Mar 10, 2006 3:39 pm

Hi,...

I know that's a stupid question but,... I don't get it work by myself and I have searched on the forums,...

How can I do to add binary files in the Palib examples ? just like the one that are added in the devkitpro examples that comes with the library ? In devkit pro there is in the make some script that include the bins, but in the Pa examples they include instead graphics with .h files created with another tools.

I have tried to modify the makefiles but,... I don't understand how they works!! Maybe somebody can help me ?

#75253 - Xgame - Sat Mar 11, 2006 2:13 pm

in makefile:
BINFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.bin)))

#75263 - mlequim - Sat Mar 11, 2006 4:01 pm

Hi thanks,

is there a tutorial somewhere for the makefiles ?

#75268 - tepples - Sat Mar 11, 2006 5:59 pm

Have you read the GNU Make manual yet?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#75366 - mlequim - Sun Mar 12, 2006 4:06 pm

no thanks

that's what I needed