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-08 02:23:37 +00:00
|
|
|
|
# Configure make to normal empty state
|
2024-07-07 19:34:56 +00:00
|
|
|
|
MAKEFLAGS += --no-builtin-rules
|
|
|
|
|
MAKEFLAGS += --no-builtin-variables
|
2024-07-02 01:27:14 +00:00
|
|
|
|
.SUFFIXES:
|
2024-07-05 18:43:18 +00:00
|
|
|
|
.PHONY: Makefile
|
2024-07-08 02:23:37 +00:00
|
|
|
|
|
|
|
|
|
# Configure make verbose mode
|
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-07 21:26:47 +00:00
|
|
|
|
$(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))
|
2024-07-07 02:33:03 +00:00
|
|
|
|
|
|
|
|
|
# Add japanese support
|
|
|
|
|
ifdef LANG_JP
|
2024-07-08 02:23:37 +00:00
|
|
|
|
MB_I18N_ASSERT_SUCCESS = "アサート成功"
|
|
|
|
|
MB_I18N_AUTOEXEC_WRITE = "自動実行の書き込み"
|
|
|
|
|
MB_I18N_CONV_UNIX2DOS = "ディスクシステムの行末に変換"
|
|
|
|
|
MB_I18N_CONV_DOS2UNIX = "メインフレームラインエンドに変換"
|
|
|
|
|
MB_I18N_MAKE_CHECK_ARG1 = "引数 一 がありません。"
|
|
|
|
|
MB_I18N_MAKE_CHECK_ARG2 = "引数 二 がありません。"
|
|
|
|
|
MB_I18N_MAKE_CHECK_ARG3 = "引数 三 がありません。"
|
|
|
|
|
MB_I18N_MAKE_CHECK_ARG4 = "引数 四 がありません。"
|
|
|
|
|
MB_I18N_MAKE_CHECK_ARG5 = "引数 五 がありません。"
|
|
|
|
|
MB_I18N_MSXHUB_FILE_FETCH = "コンピューターハブファイルを取得する"
|
|
|
|
|
MB_I18N_MSXROM_FILE_FETCH = "読み取り専用メモリファイルを取得する"
|
|
|
|
|
MB_I18N_OPENMSX_STARTUP = "オープンメッカシステムを開始"
|
|
|
|
|
MB_I18N_OS_ECHO_CRAYON = "©Δ∞ 仙上主天"
|
|
|
|
|
MB_I18N_PROJ_STEP_BEFORE = "フェーズ前"
|
|
|
|
|
MB_I18N_PROJ_STEP_AFTER = "フェーズ後"
|
|
|
|
|
MB_I18N_PROJ_STEP_DONE = "プライムパイターゲットの実行を終了しました"
|
|
|
|
|
MB_I18N_PROJ_DIR_CREATE = "フォルダーの作成"
|
|
|
|
|
MB_I18N_PROJ_DIR_DELETE = "フォルダーの削除"
|
|
|
|
|
MB_I18N_SDCC_COMPILE = "標準マイクロコンパイラ"
|
|
|
|
|
MB_I18N_SDCC_ARLIB = "標準マイクロビルドライブラリ"
|
|
|
|
|
MB_I18N_SDCC_LINK = "標準マイクロリンクメッカ図書館"
|
|
|
|
|
MB_I18N_SDCC_OBJCOPY = "標準マイクロオブジェクトコピー"
|
2024-07-07 21:26:47 +00:00
|
|
|
|
$(call mb_make_call,mb_proj_flow_setup_jp)
|
2024-07-07 02:33:03 +00:00
|
|
|
|
endif
|
2024-07-05 18:43:18 +00:00
|
|
|
|
|