config 820 B

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