feat: Add rat AI, 4-channel tracker, interactive cursor, and test suite updates

This commit is contained in:
2026-06-17 21:39:20 +02:00
parent 08218f3cda
commit 4f9e237698
22 changed files with 1091 additions and 66 deletions
+20 -6
View File
@@ -1,10 +1,24 @@
CC = /home/enne2/.local/gbdk/bin/lcc
CFLAGS = -Wl-yt1 -Wl-ya4
CFLAGS = -Wl-yt1 -Wl-ya4 -Isrc
hello.gb: main.c
$(CC) $(CFLAGS) -o $@ $^
SRC_DIR = src
OBJ_DIR = obj
SRCS = $(wildcard $(SRC_DIR)/*.c)
OBJS = $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/%.o, $(SRCS))
TARGET = maze.gb
all: $(TARGET)
$(TARGET): $(OBJS)
$(CC) $(CFLAGS) -o $(TARGET) $(OBJS)
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.c | $(OBJ_DIR)
$(CC) $(CFLAGS) -c -o $@ $<
$(OBJ_DIR):
mkdir -p $(OBJ_DIR)
clean:
rm -f *.gb *.ihx *.cdb *.adb *.noi *.map *.lst *.sym *.rel
.PHONY: clean
rm -rf $(OBJ_DIR) *.gb