Compilation adjustment for win32. I suspect the other targets also need something for lua.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1260 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
b62f86bf45
commit
247d7f54fd
1
Makefile
1
Makefile
@ -44,6 +44,7 @@ ifdef COMSPEC
|
|||||||
BIN = grafx2.exe
|
BIN = grafx2.exe
|
||||||
COPT = -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -g -ggdb `sdl-config --cflags` $(TTFCOPT) $(JOYCOPT) $(LUACOPT) $(LAYERCOPT)
|
COPT = -W -Wall -Wdeclaration-after-statement -O$(OPTIM) -g -ggdb `sdl-config --cflags` $(TTFCOPT) $(JOYCOPT) $(LUACOPT) $(LAYERCOPT)
|
||||||
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT)
|
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT)
|
||||||
|
LUALOPT = -llua
|
||||||
CC = gcc
|
CC = gcc
|
||||||
OBJDIR = obj/win32
|
OBJDIR = obj/win32
|
||||||
# Resources (icon)
|
# Resources (icon)
|
||||||
|
|||||||
@ -153,7 +153,7 @@ Lua:
|
|||||||
Use sh shell
|
Use sh shell
|
||||||
make mingw
|
make mingw
|
||||||
(make install doesn't work, even with prefix)
|
(make install doesn't work, even with prefix)
|
||||||
Copy luaconf.h, lualib.h, lua.h, lauxlib.h to c:\msys\mingw\include\lua5.1
|
Copy luaconf.h, lualib.h, lua.h, lauxlib.h to c:\msys\mingw\include
|
||||||
Copy liblua.a to c:\msys\mingw\lib RENAMED AS liblua5.1.a
|
Copy liblua.a to c:\msys\mingw\lib
|
||||||
Copy lua51.dll to c:\msys\mingw\bin
|
Copy lua51.dll to c:\msys\mingw\bin
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user