# Makefile for whirlgif utility
#####################################
# Choose your favorite compiler.
#
# GNU C
CC = gcc
#
# standard
#CC = cc

#####################################
# Optional flags and libs
#
#  GNU C; Amiga-gcc from ADE/GeekGadgets (ftp.ninemoons.com/pub/geekgadgets/)
OPTIONS= -s 

# standard
#OPTIONS = -O

# - use these for a "ixemul-clean" whirlgif.
#LIBS   = -noixemul -lamiga

# - this is for an ixemul'ish whirlgif
LIBS   =


#####################################
# Optimization flags
#
#  GNU C
#OPTIMIZE= -fcombine-regs -O

# ADE-gcc
OPTIMIZE= -fstrength-reduce -O

# standard
#OPTIMIZE = -O


#####################################
# Debug flags
#
#DEBUG = -g
#DEBUG = -ggdb

#####################################
# CFLAGS
#		If you need <strings.h>, add -DUSE_STRINGS_H
#
CFLAGS	=  $(DEBUG) $(OPTIMIZE) $(OPTIONS) $(LIBS)

all: whirlgif

whirlgif:
	$(CC) $(CFLAGS) -o whirlgif whirlgif.c


# DO NOT DELETE THIS LINE AND DEPENDECIES BELOW

whirlgif: whirlgif.h
whirlgif: whirlgif.c
