	Make rules file for CTOS

.SUFFIXES: .run .obj .c .y .l .plm .pas .for .asm

MAKE=make\n
YACC=yacc\n
YFLAGS=
LEX=lex\n
LFLAGS=
CC=HC\n
MODEL=
CFLAGS=
AS=assemble\n
ASFLAGS=yes
PLM=V2.3PLM86\n
PLMOPTIONS=
PAS=PASCAL\n
PASOPTIONS=
FOR=FORTRAN\n
FOROPTIONS=
LEGALDATE= D|*w *n *d, yyyy, *t:0m|)
LEGALESE=LCopy\nLegalese\n[sys]<edf>\n\n\ny\g\
	Append\n[kbd]\nLegalese\n\n\gVERSION: $(VERSION) $(LEGALDATE)

 SINGLE SUFFIX RULES
.y:
	$(YACC) $<\n $(YFLAGS)\g
	$(CC) y.tab.c\n $(CFLAGS)\g
	delete\n y.tab.c\g
	rename\n y.tab.obj y.tab.lst\n $@ $*.lst\nyes\g
.c:
	delete\n $@\g
	$(CC) $<\n $(CFLAGS)\g
.plm:
	$(PLM) $<\n $(PLMOPTIONS)\g
.pas:
	$(PAS) $<\n $(PASOPTIONS)\g
.for:
	$(FOR) $(FOROPTIONS)\g
.asm:
	$(AS) $<\n $(ASFLAGS)\g

 DOUBLE SUFFIX RULES
.c.obj:
	delete\n $@\g
	$(CC) $<\n $(CFLAGS)\g
.y.obj:
	$(YACC) $<\n $(YFLAGS)\g
	$(CC) y.tab.c\n $(CFLAGS)\g
	delete\n y.tab.c\g
	rename\n y.tab.obj y.tab.lst\n $@ $*.lst\nyes\g
.l.obj:
	$(LEX) $<\n $(LFLAGS)\g
	$(CC) lex.yy.c\n $(CFLAGS)\g
	delete\n lex.yy.c\g
	rename\n lex.yy.obj lex.yy.lst\n $@ $*.lst\nyes\g
.plm.obj:
	$(PLM) $<\n $(PLMOPTIONS)\g
.pas.obj:
	$(PAS) $<\n $(PASOPTIONS)\g
.for.obj:
	$(FOR) $<\n $(FOROPTIONS)\g
.asm.obj:
	$(AS) $<\n $(ASFLAGS)\g
.y.c:
	$(YACC) $<\n $(YFLAGS)\g
	rename\n y.tab.c\n $@\nyes\g
.l.c:
	$(LEX) $<\n $(LFLAGS)\g
	rename\n lex.yy.c\n $@\nyes\g
kz	z5	zK	z
Z,ZZZZ$
,=[{F)?))))())))
)(n