mirror of
https://github.com/lxsang/antd-lua-plugin
synced 2025-07-26 02:39:46 +02:00
ffi via libffi (contd)
This commit is contained in:
6
lib/ffi/example/Makefile
Normal file
6
lib/ffi/example/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
CC = gcc
|
||||
main: lib.o
|
||||
$(CC) -shared lib.o -o libtest.so
|
||||
|
||||
%.o: %.c
|
||||
$(CC) -fPIC -c $< -o $@
|
Reference in New Issue
Block a user