
###
### Makefile for test directory
### (C) Copyright 1995 Archie L. Cobbs
###

TOPDIR		:= ..
include		$(TOPDIR)/Make.defs

###
### Default is to do nothing -- "make verify" runs the test.
###

default:

install:

verify:		clean all.exec *.CHECK
	@echo

%.CHECK:	%
	@echo
	@echo '***' Verifying file $<...
	diff -c $< $@
	@echo '***' $< is 'OK!'

all.o:		foo.o bar.o new.o
	a2link -o $@ $^

%.lst %.o:	%.s
	a2asm -l $< > $*.lst

%.obj:		%.o
	a2load $< > $@

%.exec:		%.o
	a2load -e $< > $@

clean:
	rm -f *.o *.obj *.lst *.exec

distclean:	clean

