diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-23 11:28:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2022-12-23 11:28:11 -0300 |
commit | 0825cf237d9d3505155f8b40bcf83ea1b135e8da (patch) | |
tree | 6c0b41781f1f3052c6320ac88f2976c96828028d | |
parent | f874d37fa28037bf3d3300ef8c0740d13792404b (diff) | |
download | lua-0825cf237d9d3505155f8b40bcf83ea1b135e8da.tar.gz lua-0825cf237d9d3505155f8b40bcf83ea1b135e8da.tar.bz2 lua-0825cf237d9d3505155f8b40bcf83ea1b135e8da.zip |
Detail in make file for testes/libs
Everything depends on the Lua version (as given by 'lua.h')
-rw-r--r-- | testes/libs/makefile | 10 |
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 | |||
11 | all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so | 11 | all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so |
12 | touch all | 12 | touch all |
13 | 13 | ||
14 | lib1.so: lib1.c $(LUA_DIR)/luaconf.h | 14 | lib1.so: lib1.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h |
15 | $(CC) $(CFLAGS) -o lib1.so lib1.c | 15 | $(CC) $(CFLAGS) -o lib1.so lib1.c |
16 | 16 | ||
17 | lib11.so: lib11.c $(LUA_DIR)/luaconf.h | 17 | lib11.so: lib11.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h |
18 | $(CC) $(CFLAGS) -o lib11.so lib11.c | 18 | $(CC) $(CFLAGS) -o lib11.so lib11.c |
19 | 19 | ||
20 | lib2.so: lib2.c $(LUA_DIR)/luaconf.h | 20 | lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h |
21 | $(CC) $(CFLAGS) -o lib2.so lib2.c | 21 | $(CC) $(CFLAGS) -o lib2.so lib2.c |
22 | 22 | ||
23 | lib21.so: lib21.c $(LUA_DIR)/luaconf.h | 23 | lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h |
24 | $(CC) $(CFLAGS) -o lib21.so lib21.c | 24 | $(CC) $(CFLAGS) -o lib21.so lib21.c |
25 | 25 | ||
26 | lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h | 26 | lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/lua.h |
27 | $(CC) $(CFLAGS) -o lib2-v2.so lib22.c | 27 | $(CC) $(CFLAGS) -o lib2-v2.so lib22.c |