2023-04-13 14:15:47 +02:00
|
|
|
# -------------------------------------------------------------
|
|
|
|
|
|
|
|
# These are used when building and signing a release.
|
|
|
|
|
2023-10-02 18:47:20 +02:00
|
|
|
VERSION ?= 2024.4
|
|
|
|
KEYPAIR ?= 2024-04
|
2023-04-13 14:15:47 +02:00
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
|
|
|
|
# Installation targets
|
|
|
|
|
|
|
|
PREFIX ?= /usr/local
|
|
|
|
DATADIR ?= $(PREFIX)/share/RETRO12
|
|
|
|
DOCSDIR ?= $(PREFIX)/share/doc/RETRO12
|
|
|
|
EXAMPLESDIR ?= $(PREFIX)/share/examples/RETRO12
|
|
|
|
MANDIR ?= $(PREFIX)/man/man1
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
|
|
|
|
# Flags for adding in libraries we need to link to.
|
|
|
|
|
|
|
|
# If not using floating point, you can remove the `-lm` from
|
|
|
|
# LIBM.
|
|
|
|
|
|
|
|
LIBM ?= -lm
|
|
|
|
LIBDL ?=
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
|
|
|
|
OPTIONS ?=
|
2023-08-07 14:22:29 +02:00
|
|
|
OPTIONS += -DUSE_UTF32
|
2023-10-22 17:56:22 +02:00
|
|
|
#OPTIONS += -DBIT64
|
2023-04-13 14:15:47 +02:00
|
|
|
|
|
|
|
# The I/O devices can be enabled or disabled. Comment or
|
|
|
|
# uncomment the corresponding ENABLED and DEVICES lines and
|
|
|
|
# then run `make`. Of particular note here, sockets support
|
|
|
|
# is disabled by default and you may wish to enable it.
|
|
|
|
|
|
|
|
DEVICES ?=
|
|
|
|
DEVICES += interface/ll.retro
|
|
|
|
DEVICES += interface/dedup.retro
|
|
|
|
DEVICES += interface/sources.retro
|
2023-10-03 16:46:18 +02:00
|
|
|
DEVICES += interface/konilo.retro
|
2023-04-13 14:15:47 +02:00
|
|
|
DEVICES += interface/floatingpoint.retro
|
|
|
|
DEVICES += interface/filesystem.retro
|
|
|
|
DEVICES += interface/unix.retro
|
|
|
|
DEVICES += interface/rng.retro
|
|
|
|
DEVICES += interface/clock.retro
|
|
|
|
DEVICES += interface/scripting.retro
|
|
|
|
DEVICES += interface/sockets.retro
|
|
|
|
DEVICES += interface/multicore.retro
|
|
|
|
DEVICES += interface/ffi.retro
|
|
|
|
DEVICES += interface/unsigned.retro
|
|
|
|
DEVICES += interface/future.retro
|
|
|
|
DEVICES += interface/block.retro
|
|
|
|
DEVICES += interface/deprecated.retro
|
|
|
|
DEVICES += interface/double.retro
|
|
|
|
DEVICES += interface/malloc.retro
|
2023-05-15 12:49:07 +02:00
|
|
|
DEVICES += interface/error.retro
|
2023-04-13 14:15:47 +02:00
|
|
|
DEVICES += interface/final.retro
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|
|
|
|
|
|
|
|
GLOSSARY ?= ./bin/retro tools/glossary.retro
|
|
|
|
ASSEMBLE ?= ./bin/retro-muri
|
|
|
|
EXTEND ?= ./bin/retro-extend
|
|
|
|
EXPORT ?= ./bin/retro-embedimage
|
|
|
|
RETRO ?= ./bin/retro
|
|
|
|
|
|
|
|
# -------------------------------------------------------------
|