#
#This makefile is for the Aztec system.
#The program 'HunkFix' is not necessary, it just removes unused hunks.
#

objs=copymemquicker.o cm000.o cm010.o cm020.o

all: CopyMemQuicker TestIt

.asm.o:
	as -l $*

CopyMemQuicker: $(objs)
	ln -o CopyMemQuicker $(objs) -lC
	HunkFix >NIL: $@

TestIt: TestIt.o
	ln -o TestIt $*.o -lC +l -lamiga
	HunkFix >NIL: $@

TestIt.o: TestIt.c
	cc $*.c -so -wu -bs -r4 -ms

