mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-26 20:37:01 +00:00
* `LOGINT` is only useful when `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. * Only define some variables if `MAIKO_HANDLE_CONSOLE_MESSAGES` is set. Flag them as static. * Remove setting `LOGINT` from the build system as it isn't needed because we aren't handling console messages.
30 lines
640 B
Plaintext
30 lines
640 B
Plaintext
# Options for MacOS, x86 processor, X windows
|
|
|
|
CC = clang -m64 $(CLANG_CFLAGS)
|
|
OEXT=.o
|
|
|
|
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.
|
|
OPTFLAGS = -O1 -g
|
|
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
|
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) -DRELEASE=351
|
|
|
|
LDFLAGS = -L/opt/X11/lib -lX11 -lm
|
|
LDELDFLAGS = -L/opt/X11/lib -lX11 -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|