turings-tarpit/Makefile
2025-04-17 22:29:31 -04:00

28 lines
665 B
Makefile

all: build
reset:
powershell -executionpolicy bypass .\scripts\reset_build.ps1
patch:
powershell "cp ./patches/process.h ./subprojects/libgit2-1.9.0/src/util/process.h"
build:
meson compile -C builddir
config:
powershell "cp tarpit_sample.json .tarpit.json"
test: build
./builddir/runtests
# make an install for real maybe copy dll and .exe to dir and zip?
install: build test
powershell "cp ./builddir/subprojects/libgit2-1.9.0/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