From 3842de0e22d72075f06bd8cc44b8744e86c21725 Mon Sep 17 00:00:00 2001 From: Johnny Richard Date: Tue, 9 May 2023 19:55:01 +0200 Subject: utils: Create linked list data structure This is a simple implementation of a general propose single-linked list. There is only the *prepend* function implemented at this moment. We can alway revisit the code and implement new missing functionality on demand. Signed-off-by: Johnny Richard --- test/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile index 1655f06..6bdec12 100644 --- a/test/Makefile +++ b/test/Makefile @@ -28,6 +28,9 @@ string_view_test: munit.o ../build/string_view.o string_view_test.o vector_test: munit.o ../build/vector.o vector_test.o $(CC) $? $(CFLAGS) -o $@ +list_test: munit.o ../build/list.o list_test.o + $(CC) $? $(CFLAGS) -o $@ + lexer_test: munit.o ../build/string_view.o ../build/lexer.o lexer_test.o $(CC) $? $(CFLAGS) -o $@ -- cgit v1.2.3