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: