1 --- mongrel2-v1.13.0.orig/tools/m2sh/Makefile 2021-12-25 01:03:28.000000000 +0100
2 +++ mongrel2-v1.13.0/tools/m2sh/Makefile 2024-02-22 19:03:20.332596928 +0100
4 -CFLAGS=-DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall $(OPTFLAGS)
6 +CFLAGS+=-DNDEBUG -DNO_LINENOS -pthread -g -I../../src -Isrc -Wall $(OPTFLAGS)
7 LIBS=-lzmq -lsqlite3 ../../build/libm2.a $(OPTLIBS)
11 SOURCES=$(wildcard src/*.c src/**/*.c)
12 OBJECTS=$(patsubst %.c,%.o,${SOURCES})
13 TEST_SRC=$(wildcard tests/*.c)
14 @@ -12,7 +13,7 @@ RAGEL_OBJECTS=src/lexer.o src/cli.o
16 $(RAGEL_OBJECTS): CFLAGS += -Wno-unused-const-variable -Wimplicit-fallthrough=0 -Wno-unused-parameter
18 -all: ../lemon/lemon tests build/m2sh
19 +all: ../lemon/lemon build/m2sh
21 dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS)
23 @@ -32,7 +33,7 @@ build/m2sh: ../lemon/lemon ../../build/l
24 $(CC) $(CFLAGS) -o build/m2sh ${OBJECTS} ../../build/libm2.a $(LDFLAGS) $(LIBS)
26 ../lemon/lemon: ../lemon/lemon.c
27 - $(CC) -O2 ../lemon/lemon.c -o ../lemon/lemon
28 + $(CC) $(CFLAGS) ../lemon/lemon.c -o ../lemon/lemon
30 tests: build/libm2sh.a ${TESTS}
31 sh ./tests/runtests.sh