diff options
author | Bad Diode <bd@badd10de.dev> | 2022-10-19 12:50:15 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-10-19 12:50:15 +0200 |
commit | f9058cc2dfa087ffcae8d6fe72d9343dcfc9cc15 (patch) | |
tree | 4d54fc6a16a42007ac07edadd7b8b656881953bf /Makefile | |
parent | 088c6408bf61c25ed201e2410de3d02e54892d3d (diff) | |
download | uxn64-f9058cc2dfa087ffcae8d6fe72d9343dcfc9cc15.tar.gz uxn64-f9058cc2dfa087ffcae8d6fe72d9343dcfc9cc15.zip |
Add initial controller support
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,6 +8,7 @@ SDK_BIN := $(SDK_BASE)/bin | |||
8 | LIBULTRA_DIR := $(SDK_BASE)/libultra | 8 | LIBULTRA_DIR := $(SDK_BASE)/libultra |
9 | LIBULTRA_INC := $(LIBULTRA_DIR)/usr/include | 9 | LIBULTRA_INC := $(LIBULTRA_DIR)/usr/include |
10 | LIBULTRA := $(LIBULTRA_DIR)/usr/lib/libgultra.a | 10 | LIBULTRA := $(LIBULTRA_DIR)/usr/lib/libgultra.a |
11 | EMULATOR := ares | ||
11 | 12 | ||
12 | # Source code location and files to watch for changes. | 13 | # Source code location and files to watch for changes. |
13 | SRC_DIR := src | 14 | SRC_DIR := src |
@@ -71,8 +72,7 @@ $(BIN): $(ELF) $(OBJECTS) $(WATCH_SRC) | $(BUILD_DIR) | |||
71 | 72 | ||
72 | # Test the output .n64 in an emulator. | 73 | # Test the output .n64 in an emulator. |
73 | run: $(BIN) | 74 | run: $(BIN) |
74 | # TODO: Test roms with MAME or cen64 instead of mupen64 for better accuracy. | 75 | $(EMULATOR) $(BIN) |
75 | mupen64plus $(BIN) | ||
76 | 76 | ||
77 | # Remove build directory. | 77 | # Remove build directory. |
78 | clean: | 78 | clean: |