Page 1 of 1

How to use SGDK from command line

Posted: Sun May 27, 2012 11:30 am
by zhengyaxin_8bit
I read the help from this http://code.google.com/p/sgdk/wiki/HowToUseSGDK
After run "%GDK_WIN%\bin\make -f %GDK_WIN%\makelib.gen",
I can't create %GDK%/lib/sega.o and %GDK%/lib/libgendev.a,Why?
My environment variable be setting as you said.

Posted: Sun May 27, 2012 12:35 pm
by Stef
These tutorial need some updates.

Running this command :
"%GDK_WIN%\bin\make -f %GDK_WIN%\makelib.gen"
will produce %GDK%/lib/libmd.a
the sega.o is now build with your project when you use this command :
"%GDK_WIN%\bin\make -f %GDK_WIN%\makefile.gen"

Posted: Sun May 27, 2012 2:19 pm
by zhengyaxin_8bit
Thanks stef.
Now, I can use command line to bulit my program. :D

Posted: Sun May 27, 2012 4:09 pm
by Stef
Glad you get it :)