blob: 78f981d237d35268c0f1fe2bd9c7329d18975544 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/Makefile
2+++ b/Makefile
3@@ -14,7 +14,8 @@ LUABIN= $(LUA)/bin
4 ZLIB=../zlib-1.2.3
5
6 # no need to change anything below here
7-CFLAGS= $(INCS) $(DEFS) $(WARN) -O0 -fPIC
8+CFLAGS= $(INCS) $(DEFS) $(WARN) $(OFLAGS) -fPIC
9+OFLAGS= -O0
10 WARN= -g -Werror -Wall -pedantic #-ansi
11 INCS= -I$(LUAINC) -I$(ZLIB)
12 LIBS= -L$(ZLIB) -lz -L$(LUALIB) -L$(LUABIN) #-llua51