LIBS=-lfl # lex may want  -ll  here
OBJS=common.o file.o first.o lex.yy.o qgen.o second.o third.o y.tab.o
TRASH=q.out.h q.out.c
PGMS=qgen q.out.o

include ../Rules.make

qgen:			$(OBJS)
			$(CC) $(LDFLAGS) -o qgen $(OBJS) $(LIBS)

install:
			@

q.out.h q.out.c:	qgen uni30
			$(CC) -E - <uni30 | ./qgen

lex.yy.c:		ql.l qgen.h y.tab.h
			$(LEX) ql.l
 
y.tab.c y.tab.h:	ql.y qgen.h
			$(YACC) -d ql.y
 
q.out.o:		qlib.c qlib.h
