From c1c9ef71461edd5887bf7e933a00050b0db2fdd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 29 Sep 2020 09:31:33 +0200 Subject: test: add array.c source dependency for core text data structure --- core/Makefile | 2 +- fuzz/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/Makefile b/core/Makefile index ecaac4f..ef0d8e2 100644 --- a/core/Makefile +++ b/core/Makefile @@ -14,7 +14,7 @@ config.h: @echo Generating ccan configuration header @${CC} ccan-config.c -o ccan-config && ./ccan-config > config.h -text-test: config.h text-test.c ../../text.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c +text-test: config.h text-test.c ../../text.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c ../../array.c @echo Compiling $@ binary @${CC} ${CFLAGS} ${CFLAGS_STD} ${CFLAGS_LIBC} ${CFLAGS_EXTRA} ${filter %.c, $^} ${SRC} ${LDFLAGS} -o $@ diff --git a/fuzz/Makefile b/fuzz/Makefile index dd1c376..5be605d 100644 --- a/fuzz/Makefile +++ b/fuzz/Makefile @@ -4,7 +4,7 @@ ALL = text-fuzzer text-libfuzzer buffer-fuzzer CC = afl-gcc CFLAGS += -I. -I../.. -DBUFFER_SIZE=4 -DBLOCK_SIZE=4 -TEXT_SRC = ../../text.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c +TEXT_SRC = ../../text.c ../../text-util.c ../../text-motions.c ../../text-objects.c ../../text-regex.c ../../array.c test: $(ALL) -- cgit v1.2.3