all: build test

reset:
	powershell -executionpolicy bypass .\scripts\reset_build.ps1

build:
	meson compile -j 4 -C builddir

test: build
	./builddir/runtests

install: build test
	powershell "cp ./builddir/subprojects/libgit2-1.8.1/liblibgit2package.dll ."
	powershell "cp ./builddir/subprojects/efsw/libefsw.dll ."
	powershell "cp builddir/escape_turings_tarpit.exe ."

clean:
	meson compile --clean -C builddir