#	Xenix makefile for
#		MicroEMACS 3.12
#		(C)Copyright 1993 by Daniel Lawrence
#		all rights reserved

# options and arguments to the C compiler

CFLAGS=	-O -I.

# list of header files

HFILES = estruct.h edef.h efunc.h epath.h ebind.h eproto.h

#list of object files

F1 = abbrev.o basic.o bind.o buffer.o
F2 = char.o crypt.o display.o dolock.o
F3 = eval.o exec.o file.o
F4 = fileio.o unix.o input.o
F5 = isearch.o line.o lock.o
F6 = main.o mouse.o
F7 = random.o region.o search.o replace.o
F8 = tags.o window.o word.o

# product list

all:	emacs

OFILES =	$(F1) $(F2) $(F3) $(F4) $(F5) $(F6) $(F7) $(F8)

emacs:		$(OFILES)
		$(CC) $(CFLAGS) $(OFILES) -ltermcap -lc -o bin/emacs
