joeyagi/Makefile
2026-10-17 15:39:36 -05:00

31 lines
1.2 KiB
Makefile

# JoeyAGI, a Sierra AGI v2 interpreter built with JoeyLib: a JoeyLib
# checkout (JOEYLIB, beside this one by default) owns the toolchains, the
# library and every target's rules, and program.mk describes the
# interpreter to them.
#
# make every target whose toolchain is installed
# make <port> one target: iigs amiga atarist dos x68000 dvx sdl3
# make iigs-game-disk-agi the bootable IIgs volume with a game on it
# (games/kq3; AGI_GAME=NAME for games/NAME)
# make check build, then run the gates (scripts/verify.sh)
# make clean remove build/
# make help JoeyLib's project targets
#
# README.md covers setting up JoeyLib, the game files and running.
JOEYLIB ?= ../joeylib
include $(JOEYLIB)/make/project.mk
include $(JOEY_PROJECT)/program.mk
# Whose it is: on DVX the vendor folder it installs in and its author, on
# macOS the start of its app's identifier.
DVX_VENDOR := kpunch
DVX_AUTHOR := Scott Duensing
MACOS_ID_PREFIX := com.kangaroopunch
include $(JOEYLIB)/make/programs.mk
.PHONY: check
check: all
JOEYLIB="$(abspath $(JOEYLIB))" $(JOEY_PROJECT)/scripts/verify.sh