all: ./build/out.bit

./build/out.bit: buildFolder
	vivado -mode batch -nolog -nojournal -source run.tcl
buildFolder:
	mkdir -p build

clean:
	rm -rf build
	rm -rf clockInfo.txt

flash:
	openFPGALoader -b arty_a7_100t ./build/out.bit

run_all: ./build/out.bit flash