mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-04 23:36:04 +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.
27 lines
547 B
Plaintext
27 lines
547 B
Plaintext
# Options for Linux, Intel x86_64 and X-Window
|
|
|
|
CC = gcc -m64 $(GCC_CFLAGS) -I/usr/local/include
|
|
#CC = clang -m64 $(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 -L/usr/local/lib -lSDL2
|
|
#
|
|
LDELDFLAGS =
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|