Added 'STELLA_BUILD_ROOT' check to Makefile.

If this is defined, then object files are placed in 'STELLA_BUILD_ROOT/stella-out' rather than 'out'.
This is useful on my system, since I have /tmp mounted to RAM and can redirect build files there.
This commit is contained in:
Stephen Anthony 2019-04-27 17:04:59 -02:30
parent 75650f1930
commit 65e6aa7bc0
1 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,11 @@ endif
# Misc stuff - you should never have to edit this #
#######################################################################
OBJECT_ROOT := out
ifdef STELLA_BUILD_ROOT
OBJECT_ROOT := $(STELLA_BUILD_ROOT)/stella-out
else
OBJECT_ROOT := out
endif
OBJECT_ROOT_PROFILE_GENERERATE := out.pgen
OBJECT_ROOT_PROFILE_USE := out.pgo