mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2024-12-26 01:18:22 +01:00
fix
This commit is contained in:
parent
38bd13b46b
commit
10785a1b3b
57
.gitignore
vendored
Normal file
57
.gitignore
vendored
Normal 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.
10
Makefile
10
Makefile
@ -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
5
lib.mk
@ -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
12
var.mk
Normal 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
|
Loading…
Reference in New Issue
Block a user