SOURCE=state-machine.gv png: dot -Tpng ${SOURCE} -ooutput.png .PHONY: cpp cpp: venv ./generator.py -i ${SOURCE} clang++ --std=c++11 *.cpp -o state_machine