aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-06-02 20:20:23 +0200
committerBad Diode <bd@badd10de.dev>2021-06-02 20:20:23 +0200
commit215465df74a6065f4b0fdf199b8b04454520a398 (patch)
treef979791df1ae25bf7da9644ce4a0d55d3b8f8fb4 /Makefile
parentf6686f1e86927f038086023362251ebe78ce5ad6 (diff)
downloadstepper-215465df74a6065f4b0fdf199b8b04454520a398.tar.gz
stepper-215465df74a6065f4b0fdf199b8b04454520a398.zip
Update the renderer to support a text layer
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1dd6375..2c58d00 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ LIBGBA += $(LIBGBA_DIR)/lib/libmm.a
15SRC_DIR := src 15SRC_DIR := src
16BUILD_DIR := build 16BUILD_DIR := build
17SRC_MAIN := $(SRC_DIR)/main.c 17SRC_MAIN := $(SRC_DIR)/main.c
18ASM_FILES := $(wildcard $(SRC_DIR)/*.s) 18SRC_BDGBA := $(wildcard $(SRC_DIR)/gba/*.s)
19SRC_BDGBA += $(wildcard $(SRC_DIR)/gba/*.c)
19WATCH_SRC := $(shell find $(SRC_DIR) -name *.c -or -name *.s -or -name *.h) 20WATCH_SRC := $(shell find $(SRC_DIR) -name *.c -or -name *.s -or -name *.h)
20INC_DIRS := $(shell find $(SRC_DIR) -type d) 21INC_DIRS := $(shell find $(SRC_DIR) -type d)
21INC_DIRS += $(BUILD_DIR) 22INC_DIRS += $(BUILD_DIR)
@@ -64,7 +65,7 @@ $(BIN): $(ELF)
64 65
65# Link files. 66# Link files.
66$(ELF): $(SRC_MAIN) $(WATCH_SRC) 67$(ELF): $(SRC_MAIN) $(WATCH_SRC)
67 $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(ASM_FILES) $(LDLIBS) 68 $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(SRC_BDGBA) $(LDLIBS)
68 69
69# Create build directory if needed. 70# Create build directory if needed.
70$(BUILD_DIR): 71$(BUILD_DIR):