seqlua
view Makefile @ 52:3362ec36cb09
Do not automatically assume that functions passed to ipairs are iterators
but require ipairs(func, mode) to have an explicit mode set to "call" or "generator"
but require ipairs(func, mode) to have an explicit mode set to "call" or "generator"
author | jbe |
---|---|
date | Tue Aug 26 21:10:03 2014 +0200 (2014-08-26) |
parents | 45855c3e5cb8 |
children |
line source
1 LUA_INCLUDE=/usr/local/include/lua52
3 all:: seqlualib.so seqlua.so seqlua_c_example.so
5 seqlualib.so: seqlualib.o
6 ld -shared -o seqlualib.so seqlualib.o
8 seqlualib.o: seqlualib.c seqlualib.h
9 cc -O2 -c -fpic -I $(LUA_INCLUDE) -o seqlualib.o seqlualib.c
11 seqlua.so: seqlua.o seqlualib.o
12 ld -shared -o seqlua.so seqlua.o seqlualib.o
14 seqlua.o: seqlua.c seqlualib.h
15 cc -O2 -c -fpic -I $(LUA_INCLUDE) -o seqlua.o seqlua.c
17 seqlua_c_example.so: seqlua_c_example.o seqlualib.o
18 ld -shared -o seqlua_c_example.so seqlua_c_example.o seqlualib.o
20 seqlua_c_example.o: seqlua_c_example.c seqlualib.h
21 cc -O2 -c -fpic -I . -I $(LUA_INCLUDE) -o seqlua_c_example.o seqlua_c_example.c
23 clean::
24 rm -f *.o *.so