Skip to content

Instantly share code, notes, and snippets.

@goecho
goecho / Makefile
Created March 24, 2017 07:40 — forked from huxuan/Makefile
Hello World for LuaJIT FFI/C++ binding.
all: lib run
lib:
g++ -shared -fPIC -o libhello.so libhello.cpp hello.cpp
run:
luajit main.lua
clean:
rm *.so