--- Makefile.sdl.orig	2000-04-07 17:04:52.000000000 +1000
+++ Makefile.sdl	2022-10-04 22:27:42.000000000 +1100
@@ -1,10 +1,11 @@
 CC	?= gcc
-CFLAGS	+= -O -g -pipe -Wall -D_SDL
+CFLAGS	+= -pipe -Wall -D_SDL
 OBJS	= main.o digger.o drawing.o sprite.o scores.o record.o sound.o \
 			newsnd.o ini.o input.o monster.o bags.o alpha.o vgagrafx.o \
 			title_gz.o icon.o sdl_kbd.o sdl_vid.o sdl_timer.o sdl_snd.o
 
-ARCH	= "LINUX"
+ARCH	= "DARWIN"
+#ARCH	= "LINUX"
 #ARCH	= "MINGW"
 #ARCH	= "FREEBSD"
 #ARCH	= "FooOS"
@@ -15,6 +16,12 @@
 ESUFFIX	=  .exe
 endif
 
+ifeq ($(ARCH),"DARWIN")
+OBJS   += fbsd_sup.o
+CFLAGS += -DDARWIN `sdl-config --cflags`
+LIBS   += `sdl-config --libs` -lz
+endif
+
 ifeq ($(ARCH),"FREEBSD")
 OBJS	+= fbsd_sup.o	# strup()
 CFLAGS	+= -DFREEBSD `sdl-config --cflags`