From 016ab9c5fe7837d6b77783e61704b583b1c4242e Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 3 Oct 2022 20:24:19 +0100 Subject: [PATCH] Fixed the tests --- test/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/makefile b/test/makefile index c35bf41..70f860a 100644 --- a/test/makefile +++ b/test/makefile @@ -1,11 +1,11 @@ CC=gcc -IDIR +=. ../source +IDIR +=. ../source ../repl CFLAGS +=$(addprefix -I,$(IDIR)) -g -Wall -W -Wno-unused-parameter -Wno-unused-function -Wno-unused-variable LIBS += ODIR = obj -TARGETS = $(wildcard ../source/*.c) $(filter-out $(wildcard ../repl/*main.c),$(wildcard ../repl/*.c)) +TARGETS = $(wildcard ../source/*.c) $(wildcard ../repl/lib_*.c) TESTS = $(wildcard *.c) OBJ = $(addprefix $(ODIR)/,$(TARGETS:../source/%.c=%.o)) $(addprefix $(ODIR)/,$(TESTS:.c=.o))