1
0
mirror of https://github.com/lxsang/antd-lua-plugin synced 2024-12-26 17:38:21 +01:00
This commit is contained in:
Xuan Sang LE 2018-09-20 10:28:41 +02:00
parent 38bd13b46b
commit 10785a1b3b
6 changed files with 71 additions and 13 deletions

57
.gitignore vendored Normal file
View File

@ -0,0 +1,57 @@
# Prerequisites
lua
luac
plugins
build
*._*
*.d
.vscode
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.con
.DS_Store

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,5 @@
include ../../var.mk
ifeq ($(UNAME_S),Linux)
FL_LUA=linux
LUA_LIB=lua-api.dylib libantd.dylib -lm -lcrypt
endif
ifeq ($(UNAME_S),Darwin)
FL_LUA=macosx
LUA_LIB= lua-api.dylib libantd.dylib -lm
endif
LUA_H= -I../../3rd/lua-5.3.4/
include var.mk
PL_NAME=lua-api
PLUGINS=$(PL_NAME).$(EXT)

5
lib.mk
View File

@ -1,7 +1,4 @@
LUA_H= -I../../3rd/lua-5.3.4/
REAL_PLUGINS_BASE=../../$(PLUGINS_BASE)
LIB_EXT=llib
LIB_BUILD_DIR=$(PBUILDIRD)/lua-api
include ../../var.mk
main:$(LIB_OBJ) $(LIB_NAME)
%.o: %.c

12
var.mk Normal file
View File

@ -0,0 +1,12 @@
ifeq ($(UNAME_S),Linux)
FL_LUA=linux
LUA_LIB=lua-api.dylib libantd.dylib -lm -lcrypt
endif
ifeq ($(UNAME_S),Darwin)
FL_LUA=macosx
LUA_LIB= lua-api.dylib libantd.dylib -lm
endif
LUA_H= -I../../3rd/lua-5.3.4/
REAL_PLUGINS_BASE=../../$(PLUGINS_BASE)
LIB_EXT=llib
LIB_BUILD_DIR=$(PBUILDIRD)/lua-api