#
# Module based project makefile for msxbuild.
#


# Configure make, can't use tabs here, than no indenting,
# as white space is not for typing multiple white spaces. 
MAKEFLAGS += --no-builtin-rules
MAKEFLAGS += --no-builtin-variables
.SUFFIXES:
.PHONY: Makefile
ifdef VERBOSE
ifeq ("$(VERBOSE)", "off")
.SILENT:
endif
endif
ifdef うるさい
ifeq ("$(うるさい)", "ユニット")
.SILENT:
endif
endif
ifdef LUIDRUCHTIG
ifeq ("$(LUIDRUCHTIG)", "uit")
.SILENT:
endif
endif
ifdef VERBOSA
ifeq ("$(VERBOSA)", "traje")
.SILENT:
endif
endif
ifdef VERBOSO
ifeq ("$(VERBOSO)", "traje")
.SILENT:
endif
endif
ifdef VERBEUSE
ifeq ("$(VERBEUSE)", "dehors")
.SILENT:
endif
endif
ifdef VERBEUX
ifeq ("$(VERBEUX)", "dehors")
.SILENT:
endif
endif
ifdef шумный
ifeq ("$(шумный)", "вне")
.SILENT:
endif
endif
ifdef 吵雜
ifeq ("$(吵雜)", "出去")
.SILENT:
endif
endif
ifdef वाचाल
ifeq ("$(वाचाल)", "बंद")
.SILENT:
endif
endif
ifdef ᕗᕉᑉᕉᔅ
ifeq ("$(ᕗᕉᑉᕉᔅ)", "ᖃᒥᓪᓗᒍ")
.SILENT:
endif
endif
ifndef VERBOSE
ifndef うるさい
ifndef LUIDRUCHTIG
ifndef VERBOSA
ifndef VERBOSO
ifndef VERBEUSE
ifndef VERBEUX
ifndef шумный
ifndef 吵雜
ifndef वाचाल
ifndef ᕗᕉᑉᕉᔅ
.SILENT:
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif


# Configure project
-include Makelocal.mk
PATH_BIN := bin
PATH_SRC := src
PATH_MSXBUILD ?= .
ifeq ($(.DEFAULT_GOAL),)
.DEFAULT_GOAL := @help
endif

# Generate project flow
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
$(call mb_make_call,mb_doc_flow_help,MSXBUILD-Example)
$(call mb_make_call,mb_make_flow_0module,$(PATH_SRC))
$(call mb_make_call,mb_proj_flow_setup,$(PATH_BIN))
$(call mb_make_call,mb_flight_proj_flow_video,$(PATH_BIN))

# Add japanese support
ifdef LANG_JP
MB_MAKE_ECHO_CRAYON = "©Δ∞ 仙上主天"
MB_PROJ_META_NAME = "メッカシステム拡大建てる"
MB_PROJ_STEP_BEFORE_PREFIX = "フェーズ前 "
MB_PROJ_STEP_AFTER_PREFIX = "フェーズ後 "
MB_PROJ_STEP_DONE_PREFIX = "プライムパイターゲットの実行を終了しました "
MB_OPENMSX_LOG_PREFIX = "オープンメッカシステム拡張を開始しましょう!のために"
MB_AUTOEXEC_LOG_PREFIX = "自動実行の書き込み"
$(call mb_make_call,mb_proj_flow_setup_jp)
endif