Split the UI code into multiple files

This commit is contained in:
Martin Dvořák 2026-09-11 11:42:13 +02:00
commit 56fe5ae6fc
23 changed files with 10140 additions and 9559 deletions

View file

@ -25,7 +25,8 @@ else
TARGET = maturita
endif
SRC = maturita.c
SRC = $(wildcard *.c)
OBJ = $(SRC:.c=.o)
all: $(TARGET)
@ -33,7 +34,7 @@ $(TARGET): $(SRC)
$(CC) $(CFLAGS) -o $(TARGET) $(SRC) $(LIBS)
clean:
rm -f $(TARGET) maturita.exe
rm -f $(TARGET) maturita.exe $(OBJ)
run: $(TARGET)
./$(TARGET)