mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-11 23:43:19 +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.
30 lines
647 B
Plaintext
30 lines
647 B
Plaintext
# Options for Linux, Intel 386/486 and X-Window
|
|
|
|
#CC = gcc -m32 $(GCC_CFLAGS)
|
|
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 = -DXWINDOW
|
|
|
|
# This is to make the %$#@! Apollo cc happy
|
|
OEXT = .o
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
DFLAGS = -DLOGINT $(XFLAGS) -DRELEASE=351
|
|
|
|
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde
|