# %Z%%M%	%I% %E% Copyright 1987 J. Schilling
#
FC=	f77
RC=	f77
PC=	pc
AS=	as
CC=	cc
LD=	ld
LEX= 	lex
MAKE=	smake
YACCR=	yacc -r
YACC=	yacc
ROFF=	nroff
ASFLAGS=
FFLAGS=
LDFLAGS=
RFLAGS=	-ms
YFLAGS=
.o: .c .s .l
	$(CC) -c $(CFLAGS) $(CPPFLAGS) $<
	$(AS) -o $*.o $(ASFLAGS) $<
	$(LEX) $(LFLAGS) $<;$(CC) -c $(CFLAGS) lex.yy.c;rm lex.yy.c;mv lex.yy.o $@
.c: .y
	$(YACC) $(YFLAGS) $<;mv y.tab.c $@
"": .o .sc
	$(CC) -o $* $<
	$(ROFF) $(RFLAGS) $< > $@
