test.r: test.b gets.b mlookup.b
	cc68 -r -o test.r test.b gets.b mlookup.b -lpup

test.b: test.c
	cc68 -c test.c

gets.b: gets.c
	cc68 -c gets.c

mlookup.b: mlookup.c
	cc68 -c -DMC68000 mlookup.c

clean:
	rm -f *.o *.b *CKP *BAK test.r
