2020-12-23 17:14:13 +00:00
|
|
|
#
|
2021-07-04 00:12:48 +00:00
|
|
|
# msxbuild.mk - Makefile helper to use with msx projects.
|
2020-12-23 17:14:13 +00:00
|
|
|
#
|
|
|
|
|
2021-07-04 00:12:48 +00:00
|
|
|
# Setup required tools paths
|
2021-07-06 18:42:46 +00:00
|
|
|
PATH_HEX2BIN ?= /usr/bin
|
|
|
|
PATH_SDCC ?= /usr/bin
|
|
|
|
PATH_UNIX2DOS ?= /usr/bin
|
|
|
|
PATH_OPENMSX ?= /usr/bin
|
|
|
|
PATH_MSXBUILD ?= $(dir $(lastword $(MAKEFILE_LIST)))../..
|
|
|
|
PATH_MSXBUILD_REAL := $(if $(realpath $(PATH_MSXBUILD)),$(realpath $(PATH_MSXBUILD)),$(PATH_MSXBUILD))
|
2020-12-23 17:14:13 +00:00
|
|
|
|
2021-07-04 00:12:48 +00:00
|
|
|
# Include features
|
2020-12-23 17:14:13 +00:00
|
|
|
include $(PATH_MSXBUILD)/lib/make/mb_base.mk
|
|
|
|
include $(PATH_MSXBUILD)/lib/make/mb_autoexec.mk
|
2021-07-04 00:12:48 +00:00
|
|
|
include $(PATH_MSXBUILD)/lib/make/mb_msxhub.mk
|
2020-12-23 17:14:13 +00:00
|
|
|
include $(PATH_MSXBUILD)/lib/make/mb_openmsx.mk
|
2021-07-04 00:12:48 +00:00
|
|
|
include $(PATH_MSXBUILD)/lib/make/mb_build.mk
|