build: add test_double_process target to Makefile

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-01 16:24:22 +00:00
parent 3a83f38d42
commit 93e4bdde14

View File

@@ -19,6 +19,9 @@ test_gui: test_gui.o gui.o engine.o lib/microui.o
test_cli: test_cli.o engine.o cli.o test_cli: test_cli.o engine.o cli.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
test_double_process: test_double_process.o engine.o
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
main.o: main.c engine.h tui.h main.o: main.c engine.h tui.h
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
@@ -46,6 +49,9 @@ test_gui.o: test_gui.c gui.h engine.h
test_cli.o: test_cli.c engine.h test_cli.o: test_cli.c engine.h
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
test_double_process.o: test_double_process.c engine.h
$(CC) $(CFLAGS) -c -o $@ $<
cli.o: cli.c cli.h engine.h cli.o: cli.c cli.h engine.h
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
@@ -54,7 +60,8 @@ cli.o: cli.c cli.h engine.h
clean: clean:
rm -f *.o lib/microui.o jack-looper test_engine test_tui test_gui test_cli rm -f *.o lib/microui.o jack-looper test_engine test_tui test_gui test_cli
test: test_engine test_tui test_cli test: test_engine test_tui test_cli test_double_process
./test_engine ./test_engine
./test_tui ./test_tui
./test_cli ./test_cli
./test_double_process