######################################################################
#
# Makefile to build Shell 2.04M
# by Steve Drew 09-dec-86
#
#	NOTE: if you havent patched your manx libraries for 1.2
#	      you'll need to uncomment the sr commands after linking
#	      shell below, to patch the fexecv code.
#
######################################################################

OBJS	= run.o main.o comm1.o comm2.o execom.o set.o sub.o globals.o RawConsole.o


INCL	= shell.h


Shell	: $(OBJS)
	ln   -o Shell $(OBJS) -lc
#	sr Shell ac 2b 43 ff ee -r a8 2b 43 ff ee
#	sr Shell ac 2b 43 ff -r a8 2b 43 ff	

RawConsole.o : RawConsole.c $(INCL)
	cc    +IShell.syms RawConsole.c

run.o   : run.c $(INCL)
	cc    +HShell.syms run.c

main.o  : main.c $(INCL)
	cc    +IShell.syms main.c

comm1.o	: comm1.c $(INCL)
	cc    +IShell.syms comm1.c

comm2.o	: comm2.c $(INCL)
	cc    +IShell.syms comm2.c

set.o	: set.c $(INCL)
	cc    +IShell.syms set.c

sub.o	: sub.c $(INCL)
	cc    +IShell.syms sub.c

globals.o : globals.c $(INCL)
	cc    +IShell.syms globals.c

execom.o : execom.c $(INCL)
	cc    +IShell.syms execom.c

