mirror of
https://github.com/Interlisp/maiko.git
synced 2026-04-24 19:50:25 +00:00
Teach makeright to compile for SDL display on MacOS on x86_64 CPU
This commit is contained in:
19
bin/makefile-darwin.x86_64-sdl
Normal file
19
bin/makefile-darwin.x86_64-sdl
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Options for MacOS, x86 processor, X windows
|
||||||
|
|
||||||
|
CC = clang -m64 $(CLANG_CFLAGS)
|
||||||
|
|
||||||
|
XFILES = $(OBJECTDIR)sdl.o
|
||||||
|
|
||||||
|
SDLFLAGS = -DSDL -I/Library/Frameworks/SDL2.framework/Headers
|
||||||
|
|
||||||
|
# OPTFLAGS is normally -O2.
|
||||||
|
OPTFLAGS = -O1 -g
|
||||||
|
DEBUGFLAGS = # -DDEBUG -DOPTRACE
|
||||||
|
DFLAGS = $(DEBUGFLAGS) $(SDLFLAGS) -DRELEASE=351
|
||||||
|
|
||||||
|
LDFLAGS = -F/Library/Frameworks -framework SDL2
|
||||||
|
LDELDFLAGS =
|
||||||
|
|
||||||
|
OBJECTDIR = ../$(RELEASENAME)/
|
||||||
|
|
||||||
|
default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldesdl
|
||||||
@@ -71,6 +71,9 @@ case "$display" in
|
|||||||
x) releasename=${osversion}.${architecture}-${display}
|
x) releasename=${osversion}.${architecture}-${display}
|
||||||
ldename=ldex
|
ldename=ldex
|
||||||
;;
|
;;
|
||||||
|
sdl) releasename=${osversion}.${architecture}-${display}
|
||||||
|
ldename=ldesdl
|
||||||
|
;;
|
||||||
*) echo "display-option: $display is not supported."
|
*) echo "display-option: $display is not supported."
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user