diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -33,7 +33,7 @@ endif | |||
33 | 33 | ||
34 | # Autodetect LUA | 34 | # Autodetect LUA |
35 | # | 35 | # |
36 | LUA=$(word 1,$(shell which lua5.1$(_LUAEXT)) $(shell which lua51$(_LUAEXT)) lua$(_LUAEXT)) | 36 | LUA=$(word 1,$(shell which lua5.1$(_LUAEXT)) $(shell which lua51$(_LUAEXT)) lua$(_LUAEXT) luajit$(_LUAEXT)) |
37 | 37 | ||
38 | _TARGET_SO=$(_TARGET_DIR)/core.$(_SO) | 38 | _TARGET_SO=$(_TARGET_DIR)/core.$(_SO) |
39 | 39 | ||
diff --git a/src/Makefile b/src/Makefile index cef4174..d6bdfd7 100644 --- a/src/Makefile +++ b/src/Makefile | |||
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | MODULE=lanes | 8 | MODULE=lanes |
9 | 9 | ||
10 | SRC=lanes.c cancel.c compat.c threading.c tools.c state.c linda.c deep.c keeper.c universe.c | 10 | SRC=lanes.c cancel.cpp compat.cpp threading.cpp tools.cpp state.cpp linda.cpp deep.cpp keeper.cpp universe.cpp |
11 | 11 | ||
12 | OBJ=$(SRC:.c=.o) | 12 | OBJ=$(SRC:.c=.o) |
13 | 13 | ||
@@ -15,7 +15,7 @@ OBJ=$(SRC:.c=.o) | |||
15 | # | 15 | # |
16 | LIBFLAG=-shared | 16 | LIBFLAG=-shared |
17 | 17 | ||
18 | OPT_FLAGS=-O2 | 18 | OPT_FLAGS=-O2 -std=c++20 |
19 | # -O0 -g | 19 | # -O0 -g |
20 | 20 | ||
21 | _SO=so | 21 | _SO=so |