mirror of
https://github.com/Interlisp/maiko.git
synced 2026-03-06 11:03:29 +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
19 lines
372 B
Plaintext
19 lines
372 B
Plaintext
# Options for FreeBSD, Intel x86_64 and X-Windows
|
|
|
|
CC = clang -m64 $(CLANG_CFLAGS)
|
|
|
|
XFILES = $(OBJECTDIR)sdl.o
|
|
|
|
SDLFLAGS = -DSDL -I/usr/local/include
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g
|
|
DFLAGS = $(SDLFLAGS) -DRELEASE=351
|
|
|
|
LDFLAGS = -L/usr/local/lib -lSDL2 -lm
|
|
LDELDFLAGS =
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|