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.

Coding > Makefile ?

#92150 - dshacker - Tue Jul 11, 2006 8:57 pm

When I run a makefile with my pong game, it comes up then goes away right away. THis is my code that I have for my make.bat file.

This is what I have

path=C:\devkitadv\bin

gcc -o pong.elf pong.c -lm

objcopy -O binary pong.elf pong.bin

Now when I run it it goes away right away.

#92180 - Azenris - Tue Jul 11, 2006 11:35 pm

this is a batch file?

try

Code:


path=C:\devkitadv\bin

gcc -o pong.elf pong.c -lm

objcopy -O binary pong.elf pong.bin

pause



the pause should stop it.

#92184 - dshacker - Tue Jul 11, 2006 11:49 pm

Thanks a bunch