From da6c8857d6bad131635a846e8177e7c00a4c224e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 31 May 2021 12:38:42 -0700 Subject: Moved utf8 code into a C file, fixed some potential null deref issues --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a107318..c033b25 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,14 @@ NAME=bp CC=cc PREFIX=/usr/local SYSCONFDIR=/etc -CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L +CFLAGS=-std=c99 -Werror -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L -flto CWARN=-Wall -Wpedantic -Wextra -Wsign-conversion -Wtype-limits -Wunused-result -Wnull-dereference EXTRA= G= O=-O3 ALL_FLAGS=$(CFLAGS) -DBP_NAME="\"$(NAME)\"" $(EXTRA) $(CWARN) $(G) $(O) -CFILES=pattern.c definitions.c utils.c match.c files.c print.c json.c +CFILES=pattern.c definitions.c utils.c match.c files.c print.c json.c utf8.c OBJFILES=$(CFILES:.c=.o) all: $(NAME) bp.1 -- cgit v1.2.3