feat: add microui-based GUI with transport controls and progress bar
Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
16
makefile
16
makefile
@@ -2,7 +2,7 @@ CC = gcc
|
||||
CFLAGS = -Wall -Wextra -std=c99 -D_POSIX_C_SOURCE=200809L
|
||||
LDFLAGS = -ljack -lm -lncurses
|
||||
|
||||
all: jack-looper test_engine test_tui
|
||||
all: jack-looper test_engine test_tui test_gui
|
||||
|
||||
jack-looper: main.o engine.o tui.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
@@ -13,6 +13,9 @@ test_engine: test_engine.o engine.o
|
||||
test_tui: test_tui.o engine.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
test_gui: test_gui.o engine.o gui.o
|
||||
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
main.o: main.c engine.h tui.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
@@ -22,17 +25,24 @@ engine.o: engine.c engine.h
|
||||
tui.o: tui.c tui.h engine.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
gui.o: gui.c gui.h engine.h microui.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
test_engine.o: test_engine.c engine.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
test_tui.o: test_tui.c engine.h tui.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
test_gui.o: test_gui.c engine.h gui.h
|
||||
$(CC) $(CFLAGS) -c -o $@ $<
|
||||
|
||||
.PHONY: all clean test
|
||||
|
||||
clean:
|
||||
rm -f *.o jack-looper test_engine test_tui
|
||||
rm -f *.o jack-looper test_engine test_tui test_gui
|
||||
|
||||
test: test_engine test_tui
|
||||
test: test_engine test_tui test_gui
|
||||
./test_engine
|
||||
./test_tui
|
||||
./test_gui
|
||||
|
||||
Reference in New Issue
Block a user