aboutsummaryrefslogtreecommitdiff
path: root/testes/libs/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-03 10:36:19 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-05-03 10:36:19 -0300
commit01bded3d8cd88a2d7f472b45f706565f1a9ef3b1 (patch)
treeda7f8f1eb23d852a876c1c61f64015aa10805403 /testes/libs/makefile
parent7c5786479c1d617ec7c133f2c2b955726436267a (diff)
downloadlua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.tar.gz
lua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.tar.bz2
lua-01bded3d8cd88a2d7f472b45f706565f1a9ef3b1.zip
File 'lib2-v2.so' generated from its own source
Instead of being a copy of 'lib2.so', 'lib2-v2.so' has its own source file ('lib22.c'), so that the test can distinguish both libraries.
Diffstat (limited to 'testes/libs/makefile')
-rw-r--r--testes/libs/makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testes/libs/makefile b/testes/libs/makefile
index acff4848..698f8984 100644
--- a/testes/libs/makefile
+++ b/testes/libs/makefile
@@ -23,5 +23,5 @@ lib2.so: lib2.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h
23lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h 23lib21.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h
24 $(CC) $(CFLAGS) -o lib21.so lib21.c 24 $(CC) $(CFLAGS) -o lib21.so lib21.c
25 25
26lib2-v2.so: lib2.so 26lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h $(LUA_DIR)/ltests.h
27 cp lib2.so ./lib2-v2.so 27 $(CC) $(CFLAGS) -o lib2-v2.so lib22.c