mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-28 17:19:20 +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.
30 lines
710 B
Plaintext
30 lines
710 B
Plaintext
# Options for Linux, aarch64 processor, X windows, for INIT processing
|
|
|
|
CC = gcc $(GCC_CFLAGS)
|
|
#CC = clang $(CLANG_CFLAGS)
|
|
|
|
XFILES = $(OBJECTDIR)xmkicon.o \
|
|
$(OBJECTDIR)xbbt.o \
|
|
$(OBJECTDIR)dspif.o \
|
|
$(OBJECTDIR)xinit.o \
|
|
$(OBJECTDIR)xscroll.o \
|
|
$(OBJECTDIR)xcursor.o \
|
|
$(OBJECTDIR)xlspwin.o \
|
|
$(OBJECTDIR)xrdopt.o \
|
|
$(OBJECTDIR)xwinman.o
|
|
|
|
|
|
XFLAGS = -DXWINDOW
|
|
|
|
# OPTFLAGS is normally -O2, for INIT we want unoptimized in case we need to debug it
|
|
OPTFLAGS = -O0 -g
|
|
DEBUGFLAGS =
|
|
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=$(RELEASE) -DNOVERSION -DINIT
|
|
|
|
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/ldeinit
|