###############################################################################
# Makefile - makefile for the tests directory
#
# $Id: Makefile 1.4 Sat, 13 Sep 1997 12:04:11 -0600 maccabe $
#
###############################################################################

HOME=..
include $(HOME)/build/make.config

PROGS = aln_test annul con_test rnd_test char_io hex_test gx_test udivbug cpl \
	uart_poll uart_echo anulbug inf_loop

all: $(PROGS)

install depend:


.SUFFIXES: .s .o

.s.o:
	$(ISEM_AS) $< -o $@

aln_test:	aln_test.o
	$(ISEM_LD) -e start aln_test.o -o aln_test

annul:	annul.o
	$(ISEM_LD) annul.o -o annul

rnd_test:	random.o rnd_test.o
	$(ISEM_LD) -e start rnd_test.o random.o -o rnd_test

con_test:	con_test.o
	$(ISEM_LD) -e start con_test.o -o con_test

char_io:	char_io.o
	$(ISEM_LD) -e start char_io.o -o char_io

hex_test:	hex_test.o
	$(ISEM_LD) -e start hex_test.o -o hex_test

gx_test:	gx_test.o gx.h
	$(ISEM_LD) -e start gx_test.o -o gx_test

udivbug:	udivbug.o
	$(ISEM_LD) udivbug.o -o udivbug

cpl:		cpl.o
	$(ISEM_LD) cpl.o -o cpl

uart_poll:	uart_poll.o
	$(ISEM_LD) uart_poll.o -o uart_poll

uart_echo:	uart_echo.o
	$(ISEM_LD) uart_echo.o -o uart_echo

inf_loop:	inf_loop.o
	$(ISEM_LD) inf_loop.o -o inf_loop

anulbug:	anulbug.o
	$(ISEM_LD) anulbug.o -o anulbug

clean:
	rm -f *~

realclean:
	rm -f *.o *~ $(PROGS)
