*** ./Makefile.ORIG	Wed Sep  5 23:40:29 2012
--- ./Makefile	Wed Sep  5 23:42:13 2012
***************
*** 11,21 ****
  # macros --------------------------------------------------------------------
  
  # uncomment these 2 lines only if you are using an external copy of zlib:
! #ZINC = ../../zlib
! #ZLIB = ../../zlib
  
! CC = gcc
! LD = gcc
  RM = rm -f
  
  CPPFLAGS = -I.
--- 11,21 ----
  # macros --------------------------------------------------------------------
  
  # uncomment these 2 lines only if you are using an external copy of zlib:
! ZINC = /opt/freeware/include
! ZLIB = /opt/freeware/lib
  
! CC = cc -qcpluscmt
! LD = cc
  RM = rm -f
  
  CPPFLAGS = -I.
***************
*** 32,39 ****
  #CFLAGS = -O2
  #CFLAGS = -O3 -fomit-frame-pointer -Wall
  #CFLAGS = -Os -fomit-frame-pointer -Wall
! CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
  # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
  
  LDFLAGS =
  O = .o
--- 32,40 ----
  #CFLAGS = -O2
  #CFLAGS = -O3 -fomit-frame-pointer -Wall
  #CFLAGS = -Os -fomit-frame-pointer -Wall
! #CFLAGS = -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow
  # [note that -Wall is a gcc-specific compilation flag ("all warnings on")]
+ CFLAGS = -I${ZINC} -I. -O
  
  LDFLAGS =
  O = .o
***************
*** 41,56 ****
  
  PNGCRUSH  = pngcrush
  
! LIBS = -lm
  # uncomment one of these 2 lines only if you are using an external zlib:
! #LIBS = -L${ZLIB} -lz -lm
  #LIBS = ${ZLIB}/libz.a -lm
  
  # uncomment these 4 lines only if you are NOT using an external copy of zlib:
! ZHDR = zlib.h
! ZOBJS  = adler32$(O) compress$(O) crc32$(O) deflate$(O) \
! 	 infback$(O) inffast$(O) inflate$(O) inftrees$(O) \
! 	 trees$(O) uncompr$(O) zutil$(O)
  
  OBJS  = pngcrush$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \
  	pngpread$(O) pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) \
--- 42,57 ----
  
  PNGCRUSH  = pngcrush
  
! #LIBS = -lm
  # uncomment one of these 2 lines only if you are using an external zlib:
! LIBS = -L${ZLIB} -lz -lm
  #LIBS = ${ZLIB}/libz.a -lm
  
  # uncomment these 4 lines only if you are NOT using an external copy of zlib:
! #ZHDR = zlib.h
! #ZOBJS  = adler32$(O) compress$(O) crc32$(O) deflate$(O) \
! #	 infback$(O) inffast$(O) inflate$(O) inftrees$(O) \
! #	 trees$(O) uncompr$(O) zutil$(O)
  
  OBJS  = pngcrush$(O) png$(O) pngerror$(O) pngget$(O) pngmem$(O) \
  	pngpread$(O) pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) \
