diff options
author | chai <chaifix@163.com> | 2021-11-15 13:53:59 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-15 13:53:59 +0800 |
commit | 942a030afd348ab2e02eac8054b43e3c3a72ea48 (patch) | |
tree | a13459f39a3d2f1b533fbd1b5ab523d7a621f673 /Tools/lua-snapshot/Makefile | |
parent | e307051a56a54c27f10438fd2025edf61d0dfeed (diff) |
*rename
Diffstat (limited to 'Tools/lua-snapshot/Makefile')
-rw-r--r-- | Tools/lua-snapshot/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Tools/lua-snapshot/Makefile b/Tools/lua-snapshot/Makefile new file mode 100644 index 0000000..4b1103e --- /dev/null +++ b/Tools/lua-snapshot/Makefile @@ -0,0 +1,15 @@ +.PHONY : all linux mingw + +all : linux + +linux : + gcc -g -Wall -fPIC --shared -o snapshot.so snapshot.c + +mingw : + gcc -g -Wall --shared -o snapshot.dll snapshot.c -I/usr/local/include -L/usr/local/bin -llua53 + +mingw51 : + gcc -g -Wall --shared -o snapshot.dll snapshot.c -I/usr/local/include -L/usr/local/bin -llua51 + +macosx : + gcc -g -Wall --shared -undefined dynamic_lookup -o snapshot.so snapshot.c |