compile:
	yacc -d icgen.y
	lex patterns.l
	gcc y.tab.c

run: compile
	./a.out input.txt

demo: compile
	./a.out demo.txt

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