make check MODERN=1 in a separate build directory
This commit is contained in:
parent
ef1c60de67
commit
6e7e7fdafa
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -85,7 +85,11 @@ ELF = $(ROM:.gba=.elf)
|
||||||
MAP = $(ROM:.gba=.map)
|
MAP = $(ROM:.gba=.map)
|
||||||
SYM = $(ROM:.gba=.sym)
|
SYM = $(ROM:.gba=.sym)
|
||||||
|
|
||||||
|
ifeq ($(MODERN),0)
|
||||||
TEST_OBJ_DIR_NAME := build/test
|
TEST_OBJ_DIR_NAME := build/test
|
||||||
|
else
|
||||||
|
TEST_OBJ_DIR_NAME := build/modern-test
|
||||||
|
endif
|
||||||
TESTELF = $(ROM:.gba=-test.elf)
|
TESTELF = $(ROM:.gba=-test.elf)
|
||||||
HEADLESSELF = $(ROM:.gba=-test-headless.elf)
|
HEADLESSELF = $(ROM:.gba=-test-headless.elf)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue