mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-13 15:18:14 +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
20 lines
350 B
Plaintext
20 lines
350 B
Plaintext
# Options for Linux, Intel 386/486 and SDL
|
|
|
|
CC = gcc -m32 $(GCC_CFLAGS)
|
|
# CC = clang $(CLANG_CFLAGS)
|
|
|
|
XFILES = $(OBJECTDIR)sdl.o
|
|
|
|
XFLAGS = -DSDL
|
|
|
|
# OPTFLAGS is normally -O2.
|
|
OPTFLAGS = -O2 -g3
|
|
DFLAGS = $(XFLAGS) -DRELEASE=351
|
|
|
|
LDFLAGS = -lm -lSDL2
|
|
LDELDFLAGS =
|
|
|
|
OBJECTDIR = ../$(RELEASENAME)/
|
|
|
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|