A weird game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
turings-tarpit/Makefile

29 lines
681 B

all: build test
reset:
powershell -executionpolicy bypass .\scripts\reset_build.ps1
patch:
powershell "cp ./patches/process.h ./subprojects/libgit2-1.8.1/src/util/process.h"
build: patch
meson compile -j 4 -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.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