######################################################################
#
# Makefile to build vt100 terminal emulator
#
#	v2.2 861012 DBW	- more of the same
#	v2.1 860915 DBW - new features (see README)
#	     860823 DBW - Integrated and rewrote lots of code
#	v2.0 860809 DBW	- Major release.. LOTS of changes
# 	v1.1 860720 DBW	- Switches, 80 cols, colors, bug fixes
# 	v1.0 860712 DBW	- First version released
#
#
# Don't forget to define the right compiler (MANX or LATTICE) in VT100.H
#
######################################################################

OBJ1	= vt100.o init.o window.o xmodem.o remote.o
OBJ2	= kermit.o script.o expand.o
OBJS	= $(OBJ1) $(OBJ2)

CC	= cc
INCL	= vt100.h
#INCL	= 

vt100 :	$(OBJS)
	$(CC) -o vt100 $(OBJS)	

vt100.o	: vt100.c $(INCL)
	$(CC) -c $(CFLAGS) vt100.c

init.o	: init.c $(INCL)
	$(CC) -c $(CFLAGS) init.c

window.o : window.c $(INCL)
	$(CC) -c $(CFLAGS) window.c

xmodem.o : xmodem.c $(INCL)
	$(CC) -c $(CFLAGS) xmodem.c

remote.o : remote.c $(INCL)
	$(CC) -c $(CFLAGS) remote.c

kermit.o : kermit.c $(INCL)
	$(CC) -c $(CFLAGS) kermit.c

script.o : script.c $(INCL)
	$(CC) -c $(CFLAGS) script.c

expand.o : expand.c $(INCL)
	$(CC) -c $(CFLAGS) expand.c


