mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-01 09:30:56 +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.
29 lines
698 B
Plaintext
29 lines
698 B
Plaintext
# Options for MacOS, x86 processor, X windows, for INIT processing
|
|
|
|
CC = clang -m32 $(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 = -I/opt/X11/include -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 -lm
|
|
LDELDFLAGS = -L/usr/X11/lib -lX11 -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/ldeinit
|