# iffar - IFF CAT archiver, makefile
#
#  By Karl Lehenbauer, version 1.3, release date 7/31/89.
#  This code is released to the public domain.
#  See the README file for more information.
#
#  This makefile is for Manx Aztec C 3.6a for the Commodore Amiga computer.
#  It probably works under 3.4, but I haven't tried it.
#

CFLAGS=	+p +Iincludes.pre
#CFLAGS=	-n +p -DDEBUG +Iincludes.pre

SDBFLAGS=
#SDBFLAGS= -g

HFILES= assert.h iff.h

OFILES= main.o cleanup.o create.o toc.o iff.o \
	extract.o delete.o replace.o quickappend.o misc.o

.c.o:
	cc $(CFLAGS) $*.c

all:	iffar
	say "ready"

clean:
	-delete #?.o quiet
	-delete #?.bak quiet
	-delete includes.pre quiet

scratch:	clean	all

iffar:	includes.pre $(OFILES)
	ln $(SDBFLAGS) +q -o iffar $(OFILES) -lcl32

includes.pre:	$(HFILES) includes.c
	cc +p +Hincludes.pre includes.c


