From 0825cf237d9d3505155f8b40bcf83ea1b135e8da Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 23 Dec 2022 11:28:11 -0300 Subject: [PATCH] Detail in make file for testes/libs Everything depends on the Lua version (as given by 'lua.h') --- testes/libs/makefile | 10 +++++----- 1 file 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