Line 17:
Line 17:
make local <br/>
make local <br/>
copy liblua.a to your lib directory and lauxlib.h lua.h lua.hpp luaconf.h lualib.h to your include/lua directory <br/>
copy liblua.a to your lib directory and lauxlib.h lua.h lua.hpp luaconf.h lualib.h to your include/lua directory <br/>
−
add -llua to your makefile LIBS '''before lib math''' (-lm) because Lua depends on it (lmathlib.o and lvm.o objects).
+
add -llua to your makefile LIBS '''before lib math''' (-lm) because Lua depends on it (lmathlib.o and lvm.o objects). <br/>
+
<br/>
+
note: If using the devkitpro release 19+, the toolchain executable has been rename from gekko to eabi, the src/makefile CC variable line 12 should be edited, as <br/>
+
it override the CC environement variable.
+
[[User:TheDrev|TheDrev]] 12:03, 9 April 2010 (UTC)
== Reasons To Use Lua ==
== Reasons To Use Lua ==