mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-12 19:07:38 +00:00
Address older versions of C compiler which don't have __BYTE_ORDER__ (#335)
* Address older versions of C compiler which don't have __BYTE_ORDER__ * Checking for __GNUC__ is not sufficient to determine if builtins are available. * Add makefile fragment for 32-bit PowerPC on Mac OSX build, and ignore the build directories. * Add comment describing use of __BIG/LITTLE_ENDIAN__ definition
This commit is contained in:
30
bin/makefile-darwin.ppc-x
Normal file
30
bin/makefile-darwin.ppc-x
Normal file
@@ -0,0 +1,30 @@
|
||||
# Options for MacOS, x86 processor, X windows
|
||||
|
||||
CC = cc $(GCC_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/usr/X11/include -DXWINDOW
|
||||
|
||||
# OPTFLAGS is normally -O2.
|
||||
OPTFLAGS = -O2 -g
|
||||
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||
DFLAGS = $(DEBUGFLAGS) $(XFLAGS) \
|
||||
-DRELEASE=351
|
||||
|
||||
LDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
LDELDFLAGS = -L/usr/X11/lib -lX11 -lm
|
||||
|
||||
OBJECTDIR = ../$(RELEASENAME)/
|
||||
|
||||
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|
||||
Reference in New Issue
Block a user