feat: set a target directory to build artifacts to
This commit is contained in:
parent
383e34529e
commit
ea2307790d
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -8,6 +8,7 @@ KEEP_TEMPS ?= 0
|
|||
# `File name`.gba
|
||||
FILE_NAME := pokeemerald
|
||||
BUILD_DIR := build
|
||||
BINARY_DIR := target
|
||||
|
||||
# Compares the ROM to a checksum of the original - only makes sense using when non-modern
|
||||
COMPARE ?= 0
|
||||
|
@ -60,7 +61,7 @@ endif
|
|||
|
||||
CPP := $(PREFIX)cpp
|
||||
|
||||
ROM_NAME := $(FILE_NAME).gba
|
||||
ROM_NAME := $(BINARY_DIR)/$(FILE_NAME).gba
|
||||
OBJ_DIR_NAME := $(BUILD_DIR)/modern
|
||||
OBJ_DIR_NAME_TEST := $(BUILD_DIR)/modern-test
|
||||
OBJ_DIR_NAME_DEBUG := $(BUILD_DIR)/modern-debug
|
||||
|
|
Loading…
Reference in a new issue