2024-06-30 00:42:42 +00:00
|
|
|
|
#
|
2024-07-05 18:43:18 +00:00
|
|
|
|
# Module based project makefile for msxbuild.
|
2024-06-30 00:42:42 +00:00
|
|
|
|
#
|
2024-07-07 02:33:03 +00:00
|
|
|
|
|
|
|
|
|
|
2024-07-07 03:38:57 +00:00
|
|
|
|
# Configure make, can't use tabs here, than no indenting,
|
|
|
|
|
# as white space is not for typing multiple white spaces.
|
2024-07-02 01:27:14 +00:00
|
|
|
|
.SUFFIXES:
|
2024-07-05 18:43:18 +00:00
|
|
|
|
.PHONY: Makefile
|
2024-07-07 03:38:57 +00:00
|
|
|
|
ifdef VERBOSE
|
|
|
|
|
ifeq ("$(VERBOSE)", "off")
|
2024-07-05 18:43:18 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
2024-07-07 03:38:57 +00:00
|
|
|
|
endif
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifdef うるさい
|
|
|
|
|
ifeq ("$(うるさい)", "ユニット")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 15:20:31 +00:00
|
|
|
|
ifdef LUIDRUCHTIG
|
|
|
|
|
ifeq ("$(LUIDRUCHTIG)", "uit")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
ifdef VERBOSA
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifeq ("$(VERBOSA)", "traje")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
ifdef VERBOSO
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifeq ("$(VERBOSO)", "traje")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
ifdef VERBEUSE
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifeq ("$(VERBEUSE)", "dehors")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
ifdef VERBEUX
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifeq ("$(VERBEUX)", "dehors")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 15:20:31 +00:00
|
|
|
|
ifdef шумный
|
2024-07-07 15:29:34 +00:00
|
|
|
|
ifeq ("$(шумный)", "вне")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 15:29:34 +00:00
|
|
|
|
ifdef 吵雜
|
|
|
|
|
ifeq ("$(吵雜)", "出去")
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
ifdef वाचाल
|
|
|
|
|
ifeq ("$(वाचाल)", "बंद")
|
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 15:29:34 +00:00
|
|
|
|
ifdef ᕗᕉᑉᕉᔅ
|
|
|
|
|
ifeq ("$(ᕗᕉᑉᕉᔅ)", "ᖃᒥᓪᓗᒍ")
|
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 03:38:57 +00:00
|
|
|
|
ifndef VERBOSE
|
2024-07-07 15:49:29 +00:00
|
|
|
|
ifndef うるさい
|
2024-07-07 15:20:31 +00:00
|
|
|
|
ifndef LUIDRUCHTIG
|
2024-07-07 03:38:57 +00:00
|
|
|
|
ifndef VERBOSA
|
|
|
|
|
ifndef VERBOSO
|
|
|
|
|
ifndef VERBEUSE
|
|
|
|
|
ifndef VERBEUX
|
2024-07-07 15:20:31 +00:00
|
|
|
|
ifndef шумный
|
2024-07-07 15:29:34 +00:00
|
|
|
|
ifndef 吵雜
|
2024-07-07 03:38:57 +00:00
|
|
|
|
ifndef वाचाल
|
2024-07-07 15:29:34 +00:00
|
|
|
|
ifndef ᕗᕉᑉᕉᔅ
|
2024-07-07 03:38:57 +00:00
|
|
|
|
.SILENT:
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
endif
|
2024-07-07 15:29:34 +00:00
|
|
|
|
endif
|
2024-07-07 03:38:57 +00:00
|
|
|
|
endif
|
2024-07-05 18:43:18 +00:00
|
|
|
|
endif
|
2020-12-23 17:14:13 +00:00
|
|
|
|
|
2024-07-07 02:33:03 +00:00
|
|
|
|
|
|
|
|
|
# Configure project
|
|
|
|
|
-include Makelocal.mk
|
2024-07-05 18:43:18 +00:00
|
|
|
|
PATH_BIN := bin
|
|
|
|
|
PATH_SRC := src
|
2024-07-05 22:11:54 +00:00
|
|
|
|
PATH_MSXBUILD ?= .
|
2024-07-07 03:38:57 +00:00
|
|
|
|
ifeq ($(.DEFAULT_GOAL),)
|
|
|
|
|
.DEFAULT_GOAL := @help
|
|
|
|
|
endif
|
2024-07-07 02:33:03 +00:00
|
|
|
|
|
|
|
|
|
# Generate project flow
|
2024-07-05 22:11:54 +00:00
|
|
|
|
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
2024-07-06 11:10:46 +00:00
|
|
|
|
$(call mb_make_call_eval,mb_doc_flow_help,MSXBUILD-Example)
|
|
|
|
|
$(call mb_make_call_eval,mb_make_flow_0module,$(PATH_SRC))
|
2024-07-07 02:33:03 +00:00
|
|
|
|
$(call mb_make_call_eval,mb_proj_flow_setup,$(PATH_BIN))
|
|
|
|
|
$(call mb_make_call_eval,mb_proj_flow_flight_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_eval,mb_proj_flow_setup_jp)
|
|
|
|
|
endif
|
2024-07-05 18:43:18 +00:00
|
|
|
|
|