all:
	yacc -d typedecl.y
	lex typedecl.l
	gcc y.tab.c lex.yy.c

run: all
	./a.out input.txt

clean:
	-rm -f a.out lex.yy.c y.tab.c y.tab.h
