2024-06-30 00:42:42 +00:00
|
|
|
#
|
2024-07-12 15:59:26 +00:00
|
|
|
# Module based project makefile to self build msxbuild.
|
2024-06-30 00:42:42 +00:00
|
|
|
#
|
2024-07-05 18:43:18 +00:00
|
|
|
PATH_BIN := bin
|
|
|
|
PATH_SRC := src
|
2024-07-12 20:35:33 +00:00
|
|
|
PATH_MSXBUILD ?= lib
|
2024-07-12 15:59:26 +00:00
|
|
|
MB_PROJ_META_GROUP_ID ?= love.distributedrebirth.msx4.firemake.make4.msxbuild
|
|
|
|
MB_PROJ_META_ARTIFACT_ID ?= msxbuild
|
|
|
|
MB_PROJ_META_VERSION ?= 1.0.0
|
|
|
|
MB_PROJ_META_NAME ?= MSXBUILD
|
2024-07-12 16:30:53 +00:00
|
|
|
MB_PROJ_META_DESCRIPTION ?= Library to use openMSX in build pipeline.
|
2024-07-12 15:59:26 +00:00
|
|
|
MB_PROJ_META_WEBSITE ?= https://code.distributedrebirth.love/arch-msx/msxbuild
|
|
|
|
.RECIPEPREFIX := _
|
2024-07-12 16:30:53 +00:00
|
|
|
.DEFAULT_GOAL := @all
|
2024-07-12 15:59:26 +00:00
|
|
|
-include Makelocal.mk
|
2024-07-12 20:35:33 +00:00
|
|
|
include $(PATH_MSXBUILD)/msxbuild.mk
|
2024-07-16 14:45:37 +00:00
|
|
|
$(call mb-make-call,mb-setup-default,$(PATH_BIN),$(PATH_SRC))
|
2024-07-12 15:59:26 +00:00
|
|
|
|
|
|
|
# Optional: make faster and setup graph root
|
|
|
|
.PHONY: Makefile
|
|
|
|
.PHONY: Makelocal.mk
|
2024-07-12 20:35:33 +00:00
|
|
|
.PHONY: $(PATH_MSXBUILD)/msxbuild.mk
|
2024-07-12 16:30:53 +00:00
|
|
|
Makefile:: Makelocal.mk
|
2024-07-12 20:35:33 +00:00
|
|
|
Makefile:: $(PATH_MSXBUILD)/msxbuild.mk
|
2024-07-12 15:59:26 +00:00
|
|
|
@@include-root:: Makefile
|
2024-07-07 02:33:03 +00:00
|
|
|
|