diff options
author | Bad Diode <bd@badd10de.dev> | 2021-04-27 14:41:49 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-04-27 14:41:49 +0200 |
commit | 778fe214d136efeda7d072f933a0cf8ff1840f85 (patch) | |
tree | efa86b0ac8cbf713f6d83bb0760b237854dc8387 /Makefile | |
parent | 3e38d5561d3e2e60f79ec5387f167bb12170c0f9 (diff) | |
download | gba-experiments-778fe214d136efeda7d072f933a0cf8ff1840f85.tar.gz gba-experiments-778fe214d136efeda7d072f933a0cf8ff1840f85.zip |
Testing BIOS calls
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -14,8 +14,10 @@ LIBGBA += $(LIBGBA_DIR)/lib/libmm.a | |||
14 | # Source code location and files to watch for changes. | 14 | # Source code location and files to watch for changes. |
15 | SRC_DIR := src | 15 | SRC_DIR := src |
16 | SRC_MAIN := $(SRC_DIR)/main.c | 16 | SRC_MAIN := $(SRC_DIR)/main.c |
17 | ASM_FILES := $(wildcard $(SRC_DIR)/*.s) | ||
17 | WATCH_SRC := $(wildcard $(SRC_DIR)/*.c) | 18 | WATCH_SRC := $(wildcard $(SRC_DIR)/*.c) |
18 | WATCH_SRC += $(wildcard $(SRC_DIR)/*.h) | 19 | WATCH_SRC += $(wildcard $(SRC_DIR)/*.h) |
20 | WATCH_SRC += $(wildcard $(SRC_DIR)/*.s) | ||
19 | 21 | ||
20 | # Output library names and executables. | 22 | # Output library names and executables. |
21 | TARGET := experiments | 23 | TARGET := experiments |
@@ -57,7 +59,7 @@ $(BIN): $(ELF) | |||
57 | 59 | ||
58 | # Link files. | 60 | # Link files. |
59 | $(ELF): $(SRC_MAIN) $(WATCH_SRC) | 61 | $(ELF): $(SRC_MAIN) $(WATCH_SRC) |
60 | $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(LDLIBS) | 62 | $(CC) $(CFLAGS) $(LDFLAGS) -o $(ELF) $(SRC_MAIN) $(ASM_FILES) $(LDLIBS) |
61 | 63 | ||
62 | # Create build directory if needed. | 64 | # Create build directory if needed. |
63 | $(BUILD_DIR): | 65 | $(BUILD_DIR): |