# Makefile for whirlgif utility
#####################################
# Choose your favorite compiler.
#
# GNU C
CC = gcc -Zomf -Zsys -Zexe -s
#
# standard
#CC = cc

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

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

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

all: whirlgif

whirlgif: whirlgif.o gifencode.o gifdecode.o
	$(CC) $(CFLAGS) -o whirlgif whirlgif.o gifencode.o gifdecode.o


# DEPENDECIES FOLLOW:

whirlgif.o:	whirlgif.h
whirlgif.o:	whirlgif.c
gifdecode.o:	whirlgif.h
gifdecode.o:	gifdecode.c
gifencode.o:	whirlgif.h
gifencode.o:	gifencode.c
