aboutsummaryrefslogtreecommitdiff
path: root/testes/libs
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-18 15:31:22 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-18 15:31:22 -0300
commit3c1d415bd3fef686b27f853bdf3eaf1f0a9bb0be (patch)
treee12a3f99a83e6a298f46f4bdaedebd0755543181 /testes/libs
parentd36a31e6739bcd39c84f637344227af87cfd0ee5 (diff)
downloadlua-3c1d415bd3fef686b27f853bdf3eaf1f0a9bb0be.tar.gz
lua-3c1d415bd3fef686b27f853bdf3eaf1f0a9bb0be.tar.bz2
lua-3c1d415bd3fef686b27f853bdf3eaf1f0a9bb0be.zip
Details
- Macro 'checkliveness' (for debug) always uses 'L', to avoid warnings. - Some old 'while' changed to 'for' in 'testes/gc.lua'. - In 'testes/libs/makefile', do not make files depend on 'ltests.h', which may not even exist.
Diffstat (limited to 'testes/libs')
-rw-r--r--testes/libs/makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/testes/libs/makefile b/testes/libs/makefile
index 698f8984..a1330920 100644
--- a/testes/libs/makefile
+++ b/testes/libs/makefile
@@ -11,17 +11,17 @@ CFLAGS = -Wall -std=gnu99 -O2 -I$(LUA_DIR) -fPIC -shared
11all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so 11all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so
12 touch all 12 touch all
13 13
14lib1.so: lib1.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 14lib1.so: lib1.c $(LUA_DIR)/luaconf.h
15 $(CC) $(CFLAGS) -o lib1.so lib1.c 15 $(CC) $(CFLAGS) -o lib1.so lib1.c
16 16
17lib11.so: lib11.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 17lib11.so: lib11.c $(LUA_DIR)/luaconf.h
18 $(CC) $(CFLAGS) -o lib11.so lib11.c 18 $(CC) $(CFLAGS) -o lib11.so lib11.c
19 19
20lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 20lib2.so: lib2.c $(LUA_DIR)/luaconf.h
21 $(CC) $(CFLAGS) -o lib2.so lib2.c 21 $(CC) $(CFLAGS) -o lib2.so lib2.c
22 22
23lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 23lib21.so: lib21.c $(LUA_DIR)/luaconf.h
24 $(CC) $(CFLAGS) -o lib21.so lib21.c 24 $(CC) $(CFLAGS) -o lib21.so lib21.c
25 25
26lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 26lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h
27 $(CC) $(CFLAGS) -o lib2-v2.so lib22.c 27 $(CC) $(CFLAGS) -o lib2-v2.so lib22.c