DIR=/usr/ftp/pub/Xinu.8086
CFLAGS=-O
FILES = mical.h inst.h scan.c error.c init.c ins.c \
	ps.c rel.c sdi.c sym.c

OBJECTS = error.o init.o ins.o ps.o rel.o sdi.o sym.o scan.o
all: as86

as86: $(OBJECTS)
	cc -o as86 $(OBJECTS)

install: all
	cp as86 $(DIR)/bin/as86
	
clean:
	rm -fn *.o ld86 as86 cvt86

$(OBJECTS): mical.h 

syms.o rel.o: ../local.h

init.o ins.o: mical.h inst.h
