From c4e9579faa083bb91a83a8ac73b06fd67575cf9c Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Fri, 1 May 2026 14:30:11 +0000 Subject: [PATCH] fix: add missing cli.o to test_cli link target Co-authored-by: aider (deepseek/deepseek-coder) --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 7457506..27b0855 100644 --- a/makefile +++ b/makefile @@ -16,7 +16,7 @@ test_tui: test_tui.o engine.o test_gui: test_gui.o gui.o engine.o lib/microui.o $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -test_cli: test_cli.o engine.o +test_cli: test_cli.o engine.o cli.o $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) main.o: main.c engine.h tui.h @@ -46,6 +46,9 @@ test_gui.o: test_gui.c gui.h engine.h test_cli.o: test_cli.c engine.h $(CC) $(CFLAGS) -c -o $@ $< +cli.o: cli.c cli.h engine.h + $(CC) $(CFLAGS) -c -o $@ $< + .PHONY: all clean test clean: