#39744 - ProblemBaby - Mon Apr 11, 2005 11:39 pm
1.
How do I compile as a library.
I use devkitARM, I dont understand that much of the makefile can someone help me out and tell me what should be changed?
2.
Is it somehow possible to name the game from the makefile
I mean the 10 bytes (or something) in the ROM header.
Iam tired of having 10 blank rows at my flashcart=)
Thanks in adv
#39747 - wintermute - Tue Apr 12, 2005 12:13 am
ProblemBaby wrote: |
1.
How do I compile as a library.
I use devkitARM, I dont understand that much of the makefile can someone help me out and tell me what should be changed?
|
use the libgba makefile as a base maybe?
Quote: |
2.
Is it somehow possible to name the game from the makefile
I mean the 10 bytes (or something) in the ROM header.
Iam tired of having 10 blank rows at my flashcart=)
|
where it says
Code: |
#---------------------------------------------------------------------------------
%.gba: %.elf
@echo built ... $(notdir $@)
@$(OBJCOPY) -O binary $< $@
@gbafix $@
|
in the makefile
add a -t$(TARGET) to the gbafix line
Code: |
@gbafix -t$(TARGET) $@
|
#39794 - ProblemBaby - Tue Apr 12, 2005 10:32 am
1.
Where can I find libgbas makefile?
2.
Thanks!
#39796 - wintermute - Tue Apr 12, 2005 12:41 pm
http://cvs.sourceforge.net/viewcvs.py/*checkout*/devkitpro/libgba/Makefile?rev=1.7
#39838 - ProblemBaby - Tue Apr 12, 2005 9:10 pm
I dont understand that much, But I understand that it doesnt work. I really dont know whats wrong. Do Ive to change a lot of stuff?
#39900 - ProblemBaby - Wed Apr 13, 2005 10:10 am
I found the problem!
thanks a lot for the help!