seqlua
view Makefile @ 28:3287510a35e3
Modified filter example in README (shows effect on alphabet() too)
| author | jbe | 
|---|---|
| date | Fri Aug 22 12:25:57 2014 +0200 (2014-08-22) | 
| parents | 44880bcfc323 | 
| children | 45855c3e5cb8 | 
 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 $(LUA_INCLUDE) -o seqlua_c_example.o seqlua_c_example.c
    23 clean::
    24 	rm -f *.o *.so
