2018-08-06 01:35:43 +00:00
|
|
|
# Minimal makefile for Sphinx documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
# You can set these variables from the command line.
|
|
|
|
SPHINXOPTS =
|
|
|
|
SPHINXBUILD = sphinx-build
|
2018-09-15 14:21:05 +00:00
|
|
|
SPHINXPROJ = Prog8
|
2018-08-06 01:35:43 +00:00
|
|
|
SOURCEDIR = source
|
|
|
|
BUILDDIR = build
|
|
|
|
|
|
|
|
# Put it first so that "make" without argument is like "make help".
|
|
|
|
help:
|
|
|
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
|
|
|
2024-04-09 17:53:36 +00:00
|
|
|
.PHONY: help Makefile symboldumps
|
|
|
|
|
|
|
|
|
|
|
|
symboldumps:
|
2024-04-10 17:58:15 +00:00
|
|
|
mkdir -p source/_static/symboldumps
|
2024-10-16 16:36:19 +00:00
|
|
|
prog8c -target atari import-all-atari.p8 -dumpsymbols > source/_static/symboldumps/skeletons-atari.txt
|
|
|
|
prog8c -target c64 import-all-c64.p8 -dumpsymbols > source/_static/symboldumps/skeletons-c64.txt
|
|
|
|
prog8c -target c128 import-all-c128.p8 -dumpsymbols > source/_static/symboldumps/skeletons-c128.txt
|
|
|
|
prog8c -target cx16 import-all-cx16.p8 -dumpsymbols > source/_static/symboldumps/skeletons-cx16.txt
|
|
|
|
prog8c -target pet32 import-all-pet32.p8 -dumpsymbols > source/_static/symboldumps/skeletons-pet32.txt
|
2024-11-08 18:19:11 +00:00
|
|
|
prog8c -target neo import-all-neo.p8 -dumpsymbols > source/_static/symboldumps/skeletons-neo.txt
|
2024-10-16 16:36:19 +00:00
|
|
|
prog8c -target virtual import-all-virtual.p8 -dumpsymbols > source/_static/symboldumps/skeletons-virtual.txt
|
2024-04-09 17:53:36 +00:00
|
|
|
|
2018-08-06 01:35:43 +00:00
|
|
|
|
|
|
|
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
|
|
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
|
|
%: Makefile
|
2024-04-09 17:53:36 +00:00
|
|
|
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|