mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-16 16:19:10 +00:00
Rationalize the SDL.h include file references so that they work on all systems Use the correct macOS Framework options to get include path and library search path Add makefile fragments for SDL on macOS on Apple Silicon, plus FreeBSD and Linux on same cpus as X11 Switch to gcc rather than clang as the default compiler for Linux systems
29 lines
606 B
Plaintext
29 lines
606 B
Plaintext
# Options for Linux, Intel x86_64 and X-Window
|
|
|
|
CC = gcc -m64 $(GCC_CFLAGS)
|
|
# 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 = -DXWINDOW
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
DFLAGS = $(XFLAGS) -DRELEASE=351
|
|
|
|
LDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
LDELDFLAGS = -L/usr/X11/lib -lX11 -lc -lm
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex
|