mirror of
https://github.com/lunarmodules/luasocket.git
synced 2024-12-27 04:48:21 +01:00
Tweaked makefiles to contain only common build settings.
Defaults to Linux and lua5.1, and for all platforms, defaults to the most common locations.
This commit is contained in:
parent
30d1aae140
commit
c8b7cfbfb4
2
makefile
2
makefile
@ -1,4 +1,4 @@
|
|||||||
PLAT?= macosx
|
PLAT?= linux
|
||||||
PLATS= macosx linux win32
|
PLATS= macosx linux win32
|
||||||
|
|
||||||
#------
|
#------
|
||||||
|
14
src/makefile
14
src/makefile
@ -1,19 +1,17 @@
|
|||||||
PLAT?=macosx
|
PLAT?=linux
|
||||||
LUAV?=5.1
|
LUAV?=5.1
|
||||||
prefix=../../../build/lua/$(LUAV)
|
|
||||||
#prefix=/usr/local
|
prefix=/usr/local
|
||||||
#prefix=/opt/local
|
#prefix=/opt/local
|
||||||
#prefix=.
|
#prefix=.
|
||||||
|
|
||||||
LUAINC_macosx=../../../build/lua/$(LUAV)/include
|
LUAINC_macosx=/opt/local/include
|
||||||
#LUAINC_macosx=/opt/local/include
|
|
||||||
#LUAINC_macosx=../../../../projects/lua_env/luaenv/lua_versions/lua-5.2.0-beta/src
|
|
||||||
#LUAINC_macosx=../../../../projects/lua_env/luaenv/lua_versions/lua-5.1.4/src
|
|
||||||
|
|
||||||
#LUAINC_linux=/usr/local/include/lua$(LUAV)
|
|
||||||
LUAINC_linux=/usr/include/lua$(LUAV)
|
LUAINC_linux=/usr/include/lua$(LUAV)
|
||||||
|
#LUAINC_linux=/usr/local/include/lua$(LUAV)
|
||||||
#LUAINC_linux=/usr/local/include
|
#LUAINC_linux=/usr/local/include
|
||||||
|
|
||||||
|
# FIXME where does lua-for-windows put lua headers?
|
||||||
LUAINC_win32="../../lua-5.1.3/src"
|
LUAINC_win32="../../lua-5.1.3/src"
|
||||||
LUALIB_win32="../../lua-5.1.3"
|
LUALIB_win32="../../lua-5.1.3"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user