From 215465df74a6065f4b0fdf199b8b04454520a398 Mon Sep 17 00:00:00 2001 From: Bad Diode Date: Wed, 2 Jun 2021 20:20:23 +0200 Subject: Update the renderer to support a text layer --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1dd6375..2c58d00 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ LIBGBA += $(LIBGBA_DIR)/lib/libmm.a SRC_DIR := src BUILD_DIR := build SRC_MAIN := $(SRC_DIR)/main.c -ASM_FILES := $(wildcard $(SRC_DIR)/*.s) +SRC_BDGBA := $(wildcard $(SRC_DIR)/gba/*.s) +SRC_BDGBA += $(wildcard $(SRC_DIR)/gba/*.c) WATCH_SRC := $(shell find $(SRC_DIR) -name *.c -or -name *.s -or -name *.h) INC_DIRS := $(shell find $(SRC_DIR) -type d) INC_DIRS += $(BUILD_DIR) @@ -64,7 +65,7 @@ $(BIN): $(ELF) # Link files. $(ELF): $(SRC_MAIN) $(WATCH_SRC) - $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(ASM_FILES) $(LDLIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(SRC_BDGBA) $(LDLIBS) # Create build directory if needed. $(BUILD_DIR): -- cgit v1.2.1