diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-09-05 15:36:47 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-09-05 15:36:47 -0300 |
| commit | 9ea06e61f20ae34974226074fc6123dbb54a07c2 (patch) | |
| tree | fe3333a7b89490be71b26047a5bc2d836113bf72 /testes/libs/makefile | |
| parent | ffbcadfb4197213d55222bca3ecc52606cd980f4 (diff) | |
| download | lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.gz lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.bz2 lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.zip | |
Details
- LUAMOD_API defined as 'extern "C"' in C++.
- "ANSI C" is in fact "ISO C" (comments)
- Removed option -std from makefile in testes/libs. (Easier to change
to C++ for tests).
Diffstat (limited to 'testes/libs/makefile')
| -rw-r--r-- | testes/libs/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testes/libs/makefile b/testes/libs/makefile index 4e7f965e..cf4c6881 100644 --- a/testes/libs/makefile +++ b/testes/libs/makefile | |||
| @@ -5,7 +5,7 @@ LUA_DIR = ../../ | |||
| 5 | CC = gcc | 5 | CC = gcc |
| 6 | 6 | ||
| 7 | # compilation should generate Dynamic-Link Libraries | 7 | # compilation should generate Dynamic-Link Libraries |
| 8 | CFLAGS = -Wall -std=c99 -O2 -I$(LUA_DIR) -fPIC -shared | 8 | CFLAGS = -Wall -O2 -I$(LUA_DIR) -fPIC -shared |
| 9 | 9 | ||
| 10 | # libraries used by the tests | 10 | # libraries used by the tests |
| 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 |
