1234567891011121314151617181920212223242526272829 |
- # Installation directories
- # Default installation prefix
- PREFIX=../../skynet/3rd/lua
- # System's libraries directory (where binary libraries are installed)
- LUA_LIBDIR= ../../lib/luaclib/
- # Lua includes directory
- LUA_INC = $(PREFIX)
- # OS dependent
- #LIB_OPTION= -shared #for Linux
- #LIB_OPTION= -bundle -undefined dynamic_lookup -all_load#for MacOS X
- linux : LIB_OPTION= -shared #for Linux
- macosx : LIB_OPTION= -bundle -undefined dynamic_lookup -all_load#for MacOS X
- # Minimum runtime OS version on macOS
- MACOSX_DEPLOYMENT_TARGET= 10.14
- LIBNAME= $T.so.$V
- # Compilation directives
- WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
- INCS= -I$(LUA_INC)
- CFLAGS= $(WARN) $(INCS)
- CC= gcc
- # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $
|