
OBJ1 = main.o serial.o ascii.o dos.o funckey.o
OBJ2 = operterm.o bprot.o phone.o xmodem.o timer.o 

term : $(OBJ1) $(OBJ2)
	cc -o term $(OBJ1) $(OBJ2)

main.o : main.c term.h
	cc -c main.c

serial.o : serial.c term.h
	cc -c serial.c

ascii.o : ascii.c term.h
	cc -c ascii.c

dos.o : dos.c term.h
	cc -c dos.c

funckey.o : funckey.c term.h
	cc -c funckey.c

operterm.o : operterm.c term.h
	cc -c operterm.c

bprot.o : bprot.c term.h
	cc -c bprot.c

phone.o : phone.c term.h
	cc -c phone.c

xmodem.o : xmodem.c term.h
	cc -c xmodem.c

timer.o : timer.c term.h
	cc -c timer.c

