summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-23 11:28:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-12-23 11:28:11 -0300
commit0825cf237d9d3505155f8b40bcf83ea1b135e8da (patch)
tree6c0b41781f1f3052c6320ac88f2976c96828028d
parentf874d37fa28037bf3d3300ef8c0740d13792404b (diff)
downloadlua-github-0825cf237d9d3505155f8b40bcf83ea1b135e8da.tar.gz
Detail in make file for testes/libs
Everything depends on the Lua version (as given by 'lua.h')
-rw-r--r--testes/libs/makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/testes/libs/makefile b/testes/libs/makefile
index a1330920..9c0c4e3f 100644
--- a/testes/libs/makefile
+++ b/testes/libs/makefile
@@ -11,17 +11,17 @@ CFLAGS = -Wall -std=gnu99 -O2 -I$(LUA_DIR) -fPIC -shared
all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so
touch all
-lib1.so: lib1.c $(LUA_DIR)/luaconf.h
+lib1.so: lib1.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
$(CC) $(CFLAGS) -o lib1.so lib1.c
-lib11.so: lib11.c $(LUA_DIR)/luaconf.h
+lib11.so: lib11.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
$(CC) $(CFLAGS) -o lib11.so lib11.c
-lib2.so: lib2.c $(LUA_DIR)/luaconf.h
+lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
$(CC) $(CFLAGS) -o lib2.so lib2.c
-lib21.so: lib21.c $(LUA_DIR)/luaconf.h
+lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
$(CC) $(CFLAGS) -o lib21.so lib21.c
-lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h
+lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h
$(CC) $(CFLAGS) -o lib2-v2.so lib22.c