mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-26 16:53:30 +00:00
Rather than having to specify or omit -DBYTESWAP in the Makefile fragment for each system we can detect whether the system requires byte swapping based on the __BYTE_ORDER__ C preprocessor definition. Update CMakeLists.txt to account for this as well.
32 lines
657 B
Plaintext
32 lines
657 B
Plaintext
# Options for MacOS, x86 processor, X windows
|
|
|
|
CC = clang $(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/local/include -DXWINDOW
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O1 -g
|
|
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
|
DFLAGS = $(DEBUGFLAGS) \
|
|
-DLOGINT $(XFLAGS) \
|
|
-DRELEASE=351
|
|
|
|
LDFLAGS = -L/opt/local/lib -lX11 -lm
|
|
LDELDFLAGS = -L/opt/local/lib -lX11 -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|