diff options
author | Bad Diode <bd@badd10de.dev> | 2021-06-02 20:20:23 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-06-02 20:20:23 +0200 |
commit | 215465df74a6065f4b0fdf199b8b04454520a398 (patch) | |
tree | f979791df1ae25bf7da9644ce4a0d55d3b8f8fb4 /Makefile | |
parent | f6686f1e86927f038086023362251ebe78ce5ad6 (diff) | |
download | stepper-215465df74a6065f4b0fdf199b8b04454520a398.tar.gz stepper-215465df74a6065f4b0fdf199b8b04454520a398.zip |
Update the renderer to support a text layer
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -15,7 +15,8 @@ LIBGBA += $(LIBGBA_DIR)/lib/libmm.a | |||
15 | SRC_DIR := src | 15 | SRC_DIR := src |
16 | BUILD_DIR := build | 16 | BUILD_DIR := build |
17 | SRC_MAIN := $(SRC_DIR)/main.c | 17 | SRC_MAIN := $(SRC_DIR)/main.c |
18 | ASM_FILES := $(wildcard $(SRC_DIR)/*.s) | 18 | SRC_BDGBA := $(wildcard $(SRC_DIR)/gba/*.s) |
19 | SRC_BDGBA += $(wildcard $(SRC_DIR)/gba/*.c) | ||
19 | WATCH_SRC := $(shell find $(SRC_DIR) -name *.c -or -name *.s -or -name *.h) | 20 | WATCH_SRC := $(shell find $(SRC_DIR) -name *.c -or -name *.s -or -name *.h) |
20 | INC_DIRS := $(shell find $(SRC_DIR) -type d) | 21 | INC_DIRS := $(shell find $(SRC_DIR) -type d) |
21 | INC_DIRS += $(BUILD_DIR) | 22 | INC_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): |