diff options
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 |