mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-28 09:17:36 +00:00
The makeright script and the makefile-* slices it depends are modified to allow easily specifying the RELEASE version number of the Maiko emulator to be built. The default version remains 351, but can be changed with e.g. RELEASE=201 ./makeright x The object directories and executables are NOT named with the version.
26 lines
499 B
Plaintext
26 lines
499 B
Plaintext
# Options for Linux, Intel 386/486 and SDL
|
|
|
|
CC = gcc -m32 $(GCC_CFLAGS)
|
|
# CC = clang $(CLANG_CFLAGS)
|
|
|
|
XFILES = $(OBJECTDIR)sdl.o
|
|
|
|
#
|
|
# For SDL version 2
|
|
# -DSDL=2 in XFLAGS and -lSDL2 in LDFLAGS
|
|
# For SDL version 3
|
|
# -DSDL=3 in XFLAGS and -lSDL3 in LDFLAGS
|
|
#
|
|
XFLAGS = -DSDL=2
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
DFLAGS = $(XFLAGS) -DRELEASE=$(RELEASE)
|
|
|
|
LDFLAGS = -lm -lSDL2
|
|
LDELDFLAGS =
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|