compile: matpat.l LL1.c
	lex matpat.l
	gcc LL1.c

LL1.c:	defs.c symboltable.c matarith.c

run: compile
	./a.out input.txt

GL: compile
	./a.out INPUT.txt

clean:
	-rm -f lex.yy.c a.out
