.SUFFIXES: .c .b .a86

OBJ = ../../obj
INCLUDE = ../../include
OBJS = term.b ah.b ah2.b bell.b
SRCS = term.c
INCS =
ASMS = ah.a86 ah2.a86 bell.a86
COMS = term.com pgaterm.com

LPR = impressify

term.com: ${OBJS}
	cc86 -o term ${OBJS} -lh19

pgaterm.com: ${OBJS}
	cc86 -o pgaterm ${OBJS} -lph19

lint:
	lint86 term.c -lh19 -lc

all:  ${COMS}

install: ${COMS}
	mv ${COMS} ${OBJ}

print: ${SRCS} ${INCS} ${ASMS}
	${LPR} ${SRCS} ${INCS} ${ASMS}

.c.b:
	cc86 -c -DDEBUG $*.c

.a86.b:
	a86 $*
