turings-tarpit/Makefile
2024-09-10 21:17:15 -04:00

22 lines
567 B
Makefile

all: build test
patch:
powershell "cp ./patches/process.h ./subprojects/libgit2-1.8.1/src/util/process.h"
build:
meson compile -j 4 -C builddir
test:
meson test -C builddir --suite turings_tarpit
# make an install for real maybe copy dll and .exe to dir and zip?
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 ."
run: install
./escape_turings_tarpit.exe
clean:
meson compile --clean -C builddir