interplane.Get Omega
Read in your language

lua

[Ported from github.com/lua/lua] Cast in 'rl_readline_name'

Brought by drakestapleton

branch master Branches Tags History

lua / testes / libs / makefile

27 lines · 781 bytes Raw Blame History
1# change this variable to point to the directory with Lua headers
2# of the version being tested
3LUA_DIR = ../../
4
5CC = gcc
6
7# compilation should generate Dynamic-Link Libraries
8CFLAGS = -Wall -O2 -I$(LUA_DIR) -fPIC -shared
9
10# libraries used by the tests
11all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so
12 touch all
13
14lib1.so: lib1.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
15 $(CC) $(CFLAGS) -o lib1.so lib1.c
16
17lib11.so: lib11.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
18 $(CC) $(CFLAGS) -o lib11.so lib11.c
19
20lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
21 $(CC) $(CFLAGS) -o lib2.so lib2.c
22
23lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
24 $(CC) $(CFLAGS) -o lib21.so lib21.c
25
26lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
27 $(CC) $(CFLAGS) -o lib2-v2.so lib22.c