⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lua_conf.inc

📁 LUA programming language implementation (source code)
💻 INC
字号:
# Common Tecmake definitions for Lua 5.1SFX = 5.1PROJNAME = lua$(SFX)OPT = Yes           # Turn optimization onUSE_NODEPEND = Yes  # Disable dependenciesNO_SCRIPTS = Yes    # Disable scripts and batch files creationNO_DYNAMIC = no     # Build also dynamic libraries with gcc in WindowsDEFINES =                           # All non-Windows (posix)                         ifeq ($(findstring Win, $(TEC_SYSNAME)), )  DEFINES += LUA_USE_POSIX    # MacOS X	ifneq ($(findstring Darwin, $(TEC_UNAME)), )	  DEFINES += LUA_DL_DYLD	else	  DEFINES += LUA_USE_DLOPEN	endif		# Linux Only	ifneq ($(findstring Linux, $(TEC_UNAME)), )	  DEFINES += LUA_USE_READLINE	endif		# BSD Only	ifneq ($(findstring BSD, $(TEC_UNAME)), )	  DEFINES += LUA_USE_READLINE	endif		# Cygwin Only (POSIX build)	ifneq ($(findstring cygw, $(TEC_UNAME)), )	  DEFINES += LUA_USE_READLINE	endifendif# For Executables onlyifdef APPNAME  # Disable strip  STRIP =     APPTYPE = console  ifneq ($(findstring Win, $(TEC_SYSNAME)), )    SRC += lua.rc     SLIB += setargv.obj        # In Windows, use the Dynamic Libraries    USE_DLL = Yes    LIBS += lua$(SFX)    ifeq "$(TEC_SYSNAME)" "Win32"      LDIR += ../lib/dll    else      LDIR += ../lib/dll8_64    endif  else    ifneq ($(findstring cygw, $(TEC_UNAME)), )      SRC += lua.rc      LIBS += lua$(SFX)      LDIR += ../lib/$(TEC_UNAME)         LDFLAGS = -s    else      #UNIX Use Static Libraries      SLIB += ../lib/$(TEC_UNAME)/liblua$(SFX).a    endif  endif    ifneq ($(findstring Linux, $(TEC_UNAME)), )    LIBS += dl     LFLAGS = -Wl,-E    LIBS += readline history curses ncurses  endif    ifneq ($(findstring BSD, $(TEC_UNAME)), )    LFLAGS = -Wl,-E    LIBS += readline history curses ncurses  endif    ifneq ($(findstring SunOS, $(TEC_UNAME)), )    LIBS += dl   endif    ifneq ($(findstring cygw, $(TEC_UNAME)), )    LIBS += readline history  endifendif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -