#101759 - MrD - Thu Sep 07, 2006 10:52 pm
Say I've got a project consisting of a dozen .c files, which my makefile determines should be compiled into .o files and then linked together and cook ed for 45 until golden brown.
Is there a way to link all of the .o files except one into a single file, which can then be linked to a version of the missing .o and objcopy'd into the final rom?
For example, hypothetical project:
gbamain.c,
levelgfx.c,
enemygfx.c,
enemybehaviour.c,
levelmap.c, and all of the necessary headers.
Can I compile and link gbamain.o, levelgfx.o enemygfx.o and enemybehaviour.o into a single file, and then link that with levelmap.o and complete the rom preparation process?
_________________
Not active on this forum. For Lemmings DS help see its website.
Is there a way to link all of the .o files except one into a single file, which can then be linked to a version of the missing .o and objcopy'd into the final rom?
For example, hypothetical project:
gbamain.c,
levelgfx.c,
enemygfx.c,
enemybehaviour.c,
levelmap.c, and all of the necessary headers.
Can I compile and link gbamain.o, levelgfx.o enemygfx.o and enemybehaviour.o into a single file, and then link that with levelmap.o and complete the rom preparation process?
_________________
Not active on this forum. For Lemmings DS help see its website.