--- Makefile.orig	2006-01-13 04:55:15.000000000 +1100
+++ Makefile	2020-02-08 16:55:50.000000000 +1100
@@ -3,7 +3,6 @@
 ###
 
 RM = rm -f
-CC = gcc
 
 OBJS   = main.o lib.o \
          buffer.o file.o cdaccess.o cdimage.o vpc.o compressed.o \
@@ -13,9 +12,8 @@
 
 TARGET = disktype
 
-CPPFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS   = -Wall
-LDFLAGS  =
+CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS   += -Wall
 LIBS     =
 
 ifeq ($(NOSYS),)
@@ -30,11 +28,6 @@
   ifeq ($(system),Darwin)
     CPPFLAGS += -DUSE_MACOS_TYPE -DUSE_IOCTL_DARWIN
     LIBS     += -framework CoreServices
-    ifeq (/Developer/SDKs/MacOSX10.4u.sdk,$(wildcard /Developer/SDKs/MacOSX10.4u.sdk))
-      CPPFLAGS += -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-      CFLAGS   += -arch i386 -arch ppc
-      LDFLAGS  += -arch i386 -arch ppc -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
-    endif
   endif
   ifeq ($(system),AmigaOS)
     CC       += -noixemul
