all: NFA.c buildNFA.l
	lex buildNFA.l
	gcc lex.yy.c

run: all
	./a.out < input.txt

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