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:
Sam Roberts 2012-04-26 13:33:01 -07:00
parent 30d1aae140
commit c8b7cfbfb4
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
PLAT?= macosx PLAT?= linux
PLATS= macosx linux win32 PLATS= macosx linux win32
#------ #------

View File

@ -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"