mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-03 18:06:23 +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.
28 lines
611 B
Plaintext
28 lines
611 B
Plaintext
# Options for OpenBSD, Intel x86_64 and X-Window
|
|
|
|
CC = clang -m64 $(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/usr/X11R6/include -DXWINDOW
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
DFLAGS = $(XFLAGS) -DRELEASE=$(RELEASE) -DNOVERSION -DINIT
|
|
|
|
LDFLAGS = -L/usr/X11R6/lib -lX11 -lc -lm
|
|
LDELDFLAGS = -L/usr/X11R6/lib -lX11 -lc -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/ldeinit
|